Advertisement
Narzew

For error - C version

Oct 19th, 2013
140
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.  
  3. int main(){
  4.     int liczba;
  5.     int count=0;
  6.     for(;;){
  7.         printf("Podaj liczbe: ");
  8.         scanf("%d",&liczba);
  9.         printf("Podales %d\n\n",liczba);
  10.         count++;
  11.         if(count == 4){ break; }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement