Advertisement
darius90

07.C for ciklus

Dec 6th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.    int i; //for ciklus:
  7. for (i = 0; i < 10; i++) { //i=ciklus változó (adatszerkezet bejáró)
  8.     printf("%d\n", i);
  9. }
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement