If Statement Program in C/C++

If Statement Program in C/C++




This Program is for "IF Statement", which prints out numbers from 1-10.




#include<iostream>

using namespace std;

int main()

{

int i;

for( i=1;i<=10;i++)

{

cout << "no." << i <<endl;

}

}

Comments

Popular posts from this blog

Book-Shop Program using C++

Nesting of For Loop in C/C++

Switch statement in C/C++