Infolinks - Earn Easy Money

Saturday, April 4, 2015

C++ program to print integers from 5 to -5

#include <iostream>
using namespace std ;
int main (  )
{
int a ;
for ( int i = 5 ; i >= -5 ; i-- )
{
cout << i << endl ;
}
return 0 ;
}

No comments:

Post a Comment

Must drop your comments about post.