Nitin400

break statment

Jul 6th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int n,i;
  5.     for(i=0;i<5;i++)
  6.     {
  7.         printf("enter the numbers :\n");
  8.         scanf("%d",&n);
  9.         if(n<0)
  10.            break;  
  11.     }
  12.     return 0;
  13. }
Add Comment
Please, Sign In to add comment