0
How do you get the statement "Learning is fun" to repeat itself thrice in a given expression using for loop in Java sript.
The expression is [let msg = readLine();]
1 Answer
+ 4
Sergeant Nyams ,
You should share your attempted code here for any clarification... Don't expect for readymade solutions from others ...
And using this hint try to built the code..
1) using prompt () function get user input...
2) use for loop upto range 3 ...
3) using console.log() print the user input....