RELOJ por dfd y c++
como hallar un reloj
por seudocodigo c++
# include <iostream>
using namespace std;
int main ()
{
int hora,min,seg;
cout<<"movimiento del reloj"<<endl;
for (int hora=0; hora<=23; hora++)
for (int min=0; min<=59; min++)
for (int seg=0; seg<=59; seg++)
{
system ("cls");
cout<<hora<<":"<<min<<":"<<seg<<endl;
system ("pause");
}
return 0;
}
Publicidad