Wednesday, 12 October 2016

HHW Q2. WAP to print your name 10 times .

#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
for (int i =1;i<=10;i++)
{
 cout<<"Tanuj Bhatt"<<"\n";
}
getch();
}

No comments:

Post a Comment

Basic Implementation of Array as a Pointer

#include<iostream.h> #include<conio.h> void main() { clrscr();   int arr[5];   cout<<"Enter 5 nos. ";   f...