multiplication | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

multiplication

https://code.sololearn.com/cD6i56w2d2pT/?ref=app I want a program to calculate the multiplication table (ascending) from 1 to 10 for a number, 1- Ask the user to enter a number between 1 and 9 (a condition sentence is needed), 2- Then print the multiplication table for this number from 1 to 10 (you need a repetition sentence) , to make sure of the output when entering the number 3 will be like this: Insert a number between 1 and 9 3 3*1=3 3*2=6 3*3=9 3*4=12 3*5=15 3*6=18 3*7=21 3*8=24 3*9=27 3*10=30

12th Sep 2021, 2:23 AM
STOP
STOP - avatar
4 Answers
+ 1
Thank you
12th Sep 2021, 4:29 AM
STOP
STOP - avatar
0
Simba can you make it like this but Descending
12th Sep 2021, 4:24 AM
STOP
STOP - avatar
- 1
//try this for (int j=10; j>=1; j--)
12th Sep 2021, 4:29 AM
Simba
Simba - avatar