//20. Lee el saldo de una cuenta y un monto a retirar. Indica si la operación
 //   es posible (saldo suficiente).
#include <iostream>
using namespace std;
int main() {
    std::cout << "PROGRAMA DETERMINAR SI CUENTA TIENE SALDO PARA RETIRAR"<<endl;
    float saldo, retiro;
    cout<<"ingrese el saldo de la cuenta "<<endl;
    cin>>saldo;
    cout<<"ingrese el valor a retirar "<<endl;
    cin>>retiro;
    if(saldo>retiro)
    {
        cout<<"SE PUEDE REALIZAR LA OPERACION DE RETIRO"<<endl;
    }else
    {
        cout<<"NO PUEDE REALIZAR LA OPERACION DE RETIRO"<<endl;
    }

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: