Friday, September 28, 2018

How to print integers from 1 to 10 in C++?

#include<iostream.h>
#include<stdio.h>
#include<conio.h>
void main()
{
    int count;
    for(count=1;count<=1=;count++)
    {
        cout<<count<<"\t";
   
    }
    getch();
}

No comments:

Post a Comment