How to Solve Multiple of 3 C# project | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to Solve Multiple of 3 C# project

Problem: 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 Multiples of 3 by "*" Sample Input 7 Sample Output 12*45*7 Q: Is it asking me to list the multiples of 3 from 1 to 7? Also, How the F*** can 7 turn into 12*45*7? They need to explain what they want.

15th Dec 2020, 3:30 PM
Eric Clifford
3 Answers
+ 4
OMG I am stupid. I was reading it as 12, *, 45, *, 7 not 1, 2, *, 4, 5, * 7. Been looking at this for a day now going WTF.
15th Dec 2020, 3:53 PM
Eric Clifford
+ 1
「HAPPY TO HELP」 😂😂😂 I'm getting frustrated by looking 12*45*7😤 Thanks for the question Eric Clifford
16th Dec 2020, 2:26 PM
Gouse Basha
Gouse Basha - avatar
0
28th Jan 2021, 5:53 PM
Jesus Israel Ballesteros Alonso
Jesus Israel Ballesteros Alonso - avatar