+ 1
Please help I can't figure out how to do a practice in c#
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 https://code.sololearn.com/cK8ZU81KbVGI/?ref=app
9 Answers
+ 2
Using "number +1" instead of "number" as the upper limit should take care of that.
+ 2
Thank you I did that and it worked đđđ
+ 1
Your code works for me. Although there seems to be an issue with sololearn right now where you may have to try running it multiple times because sometimes there is no output.
+ 1
It says 12*45*7
+ 1
That's what it's supposed to say, isn't it?
+ 1
Yes I was asking if that is what it said
+ 1
No the "7" is missing.
+ 1
OK
+ 1
Ty anyway