64 538
Assignments Done
99,3%
Successfully Done
In September 2018

Answer to Question #15853 in Action Script | Flash | Flex | ColdFusion for Abdul Qayyum

Question #15853
Input a number from user to print its table. Also, ask user to enter how many times you want to generate the table.
Expert's answer
#include<iostream>
#include<conio.h>
using namespace std;

int main()
{
int n,times,t,count=1;&
printf("Enter any number\n\n");
scanf("%d",&n);
printf("Enter number of times \n\n");
scanf("%d",×);

for (int i = 0; i < times; i++) {
& while(count<=10)
& {
& t=n*count;
& printf("\n%d*%d=%d",n,count,t);
& count++;
& }
}

getch();
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions