First Please Subscribe Our Channel Click Here For Subscribe
Close
C PROGRAMMING WORLD
BY SUNIL KUMAR DHEENDHWAL
Pages
INDEX
Home
INSTALING STEPS OF TURBO
How To Start Programming With C
HOW TO EARN MONEY ONLINE
Find Us On Facebook
WAP to read the age of 10 persons and count the number of person in the age group 50-60 (Use For and Continue Statement)
void main()
{
int i,age,c=0;
clrscr();
for(i=1; i<=10; i++)
{
printf("Enter the age of the person");
scanf("%d", &age);
if(age>50 && age<60)
{
c++;
continue;
}
}
printf(" %d",c);
getch();
}
2 comments:
Unknown
3 December 2019 at 13:54:00 GMT+5:30
it is not a compiled program
Reply
Delete
Replies
Reply
Unknown
22 January 2021 at 15:58:00 GMT+5:30
Galat hai
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
it is not a compiled program
ReplyDeleteGalat hai
ReplyDelete