Include
1
#include "stdafx.h" #include <iostream> using namespace std; //prototipos int menu (); void opcion1 (); int hms( int h); //funcion principal void main(){ int opcion; do { opcion=menu(); switch (opcion) case 1: opcion1(); break ; } while (opcion!=0); } int menu(){ int n; cout<< "[1] Horas convertidas a horas minutos y segundos: " <<endl; cout<< "OPCION; " ;cin>>n; return n; } //desarrollo void opcion1 (){ int n; cout<< "Ingrese las horas totales: " ;cin>>n; }
-
Upload
joangildojimenezmelo -
Category
Documents
-
view
213 -
download
0
description
IncludeInclude
Transcript of Include
#include "stdafx.h"#include using namespace std;
//prototiposint menu ();void opcion1 ();
int hms(int h);
//funcion principalvoid main(){int opcion;do{opcion=menu();switch(opcion)case 1: opcion1();break;}while (opcion!=0);}
int menu(){int n;cout