WAP To Print Input An Integer And Display Its First Three Multiples.

#include<iostream.h>
#include<conio.h>
Void main()
{   int num,mult 1,mult 2,mult 3
     clrscr();
     cout<<”Enter a no.”;
     cin>>num;
     mult 1=num*1;
     mult 2=num*2;
     mult 3=num*3;
     cout<<”First three multiples of given no. are”;
     cout<<”mult 1<<”,”<<mult 2<<”,”<<mult 3;
     getch();

  }

Comments

Popular Posts