Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
time clock and day count through seconds by ratneshgujarathi
//gcc 5.4.0 #include <stdio.h> int main(void) { int HH,min,MM,sec=9670979,SS; int hour,day; HH=sec/3600; min=sec%3600; MM=min/60; SS=min%60; day=HH/24; hour=HH%24; printf("\n \n \tEnter value of seconds :"); printf("\n \n %0.2d:%0.2d:%0.2d",HH,MM,SS); printf("\n \n day is %0.2d:%0.2d",day,hour); return 0; }
run
|
edit
|
history
|
help
0
shrinken shraken shrank leave as no cold call acces program unles clownbtweak blue voda
B_141128_MatrizUnSoloIndice
C_14119_Media
Exploiting uninitialized variable 2
lab 11 v0.7
Welcome1
Project 5 v0.1
Binary to Integer (C)
Coba
hippo he Rhoda shalbert now ring one white car bomb ching