0
Write a program that produce the following output:
There are 60 seconds in a minute There are xxx seconds in an hour There are yyy seconds in a day There are zzz seconds in a year note: In place of XXX, YYY and ZZZ, the program should calculate and display the appropriate number in seconds
4 Réponses
+ 7
THERE ARE 60 SECONDS IN A MINUTE
Tsk. Have your program store values into variables. E.g.
int second = 1;
int minute = 60*second;
int hour = 60*minute;
int day = 24*hour;
int year = 365*day;
There, you get everything in seconds.
0
your questions is not clear john we will like you to be more specific
because your ans is true there are 60 seconds in a minute if thats your question
0
thanks...
Hatsy Rei