Monday, April 29, 2013

C++ Program to Print Out 1-100 Using For Loop

The C++ Program is given below will print 1-100 when you will run it in Code Block or Turbo C.

#include<stdio.h>
void main()
{
int i;
for(i=1; i<=100; i++)
printf("%d",i);
}

C Programming, Print 1-100 by C++, C++ Programming

No comments:

Post a Comment