program can receive an input value is between 0-9 and then print the multiplication table for its :

example
if input :7
output : sifir 7

1 x 7 = 7

12 x 7 = 84

please help me....

## Recommended Answers

Could you be more clear with that...

As I understand you need to show a multiplication table based on the input right?
then use a loop and a counter to multiply with the input

## All 4 Replies

Could you be more clear with that...

As I understand you need to show a multiplication table based on the input right?
then use a loop and a counter to multiply with the input

user enter number : 3

so output must appear like that

1 x 3 = 3
2 x 3 = 6
3 x 3 = 9
4 x 3 = 12
5 x 3 = 15
6 x 3 = 18
7 x 3 = 21
8 x 3 = 24
9 x 3 = 27
10x3 = 30
11x3 = 33
12x3 = 36

can use help me give a coding for this program ???
I want output appear like that

pseudocode:

``````//get input from user
for(int i=1; 1<=12; i++){ //use a loop
answer = i*input;
//print out the answer along with the input and the counter
}``````

thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.