Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. //Zadanie 2//
  2.     double tona =0.0 ;
  3.         printf ("Podaj mase\n");
  4.         scanf ("%f", &tona);
  5.     int pelne = (int) tona;
  6.         printf("Ilosc ton: %f \n", tona);
  7.         printf("Ilosc pelnych ton: %d", pelne);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement