0

I don’t understand the question.can someone explain the meaning of the example too.

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

4th Jun 2021, 4:17 PM
Joel Sebastian Jijo
Joel Sebastian Jijo - avatar
5 ответов
0
input 1234567890 10 11 12 13 output 12*45 *78 *0 10 11 * 13 replace multiples of 3 with '*'
4th Jun 2021, 4:24 PM
lisa
0
For sample input N=7 Print numbers from 1 to 7, but replace all multiple 3 by * (here 3,6 replaced by * remaining printed same in same line..
4th Jun 2021, 5:25 PM
Jayakrishna 🇮🇳
0
Yeah thanks
4th Jun 2021, 5:34 PM
Joel Sebastian Jijo
Joel Sebastian Jijo - avatar
0
Don't use WriteLine in it use only Write statement
4th Jun 2021, 6:43 PM
Atul [Inactive]
0
I know. Thats what i used.
5th Jun 2021, 4:16 AM
Joel Sebastian Jijo
Joel Sebastian Jijo - avatar