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();]

29th Oct 2023, 7:12 AM
Sergeant Nyams
Sergeant Nyams - avatar
1 Antwort
+ 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....
29th Oct 2023, 7:49 AM
Riya
Riya - avatar