+ 1

I am stuck on the 23 Code Project and I can't seem to figure out how to do the equation or how to print in the format it wants.

You are an elementary school teacher and explaining multiplication to students. You are going to use multiplication by 3 as your example. The program you are given takes N number as input. Write a program to output all numbers from 1 to N, replacing all numbers that are multiples of 3 by "*". Sample Input 7 Sample Output 12*45*7

16th Nov 2021, 6:50 AM
Diftcar
Diftcar - avatar
2 Answers
16th Nov 2021, 8:18 AM
Edwin
Edwin - avatar
+ 1
What was the task instruction? Why didn't you put it in the thread's Description, it would help others understand, even those who haven't done it.
16th Nov 2021, 7:15 AM
Ipang