Facebook
From Jittery Kangaroo, 3 Years ago, written in C.
Embed
Download Paste or View Raw
Hits: 108
  1. #include <stdio.h>
  2.  
  3. void wypisz_sekunde(unsigned int sekunda){
  4.     if(sekunda <= 60)
  5.         printf("%02u", sekunda);
  6.     else
  7.         printf("error, sekunda >60");
  8.    
  9. }
  10.  
  11. int main()
  12. {
  13.     wypisz_sekunde(5);
  14. }