Logic question in C#
I am doing a challenge question. Without giving me the code, please explain to me what they are asking me for here logically. I am trying to understand where they are getting 12 and 45 from, out of an input of 7. I thought we are trying to get all numbers between 1 and input (in this case 7), replacing the ones that are multiples of 3 by *. Am I just not grasping the math? If I understand the math behind it, I will know how to code it. Please help. Question below: 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