Advertisement
Sayukoo

Temat 2 cwiczenie 2 10*10*10...(x30)

Oct 9th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. double x=10;
  4. int main()
  5. {
  6.     for(int i=0;i<30;i++)
  7.     {
  8.         printf("%.0f\n",x);
  9.         x*=10;
  10.     }
  11.  
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement