Answer to Question #19059 in C++ for rathnakar reddy

Question #19059
write a program to print the numbers from 1 to 50 using for loop
1
Expert's answer
2012-11-21T08:24:56-0500
int main()
{



for(int i=1;i<=50;i++){
printf("
%d",i);
}



printf("
Press any key to exit...");
int N;
scanf("%d",&N);

return 0;
}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS