3 Programas de While

Post on 10-Nov-2015

227 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

ing. en computacion

Transcript

  • 3 PROGRAMAS DE WHILE

    #include

    #include

    #include

    #include

    #include

    using namespace std;

    void menu();

    void tablas();

    void aleatorio();

    void libros();

    using namespace std;

    int main(int argc, char** argv) {

    int opcion;

    do{

    menu();

    cin>>opcion;

    switch(opcion){

    case 1:

    tablas();

    cout

  • 3 PROGRAMAS DE WHILE

    cout

  • 3 PROGRAMAS DE WHILE

    }

    cout

  • 3 PROGRAMAS DE WHILE

    cout

  • 3 PROGRAMAS DE WHILE

    double a,b,c,d,e,f,subtotal,restotal,contado,credito,desc1,desc2,descontado;

    cout

  • 3 PROGRAMAS DE WHILE

    coutopcion;

    if (opcion==1){

    cout

  • 3 PROGRAMAS DE WHILE

    NUMEROS ALEATORIOS

    LIBROS; DISCOS; CUADERNOS

top related