Posts by Guilherme Barros • 1 point
1 post
-
-2
votes1
answer46
viewsQ: How do I get only the units of that number
#include <stdio.h> int main(){ int hora,minuto,dia,mes,ano; scanf("%d",&hora); scanf("%d",&minuto); scanf("%d",&dia); scanf("%d",&mes); scanf("%d",&ano); printf("%02d:%02d…
casked Guilherme Barros 1