I am writing pseudocode (not Java) for a programming class and am being asked to do the following:
I am being asked to create a method say(num times, String msg)
This say() method will print the msg parameter the number of times indicated by the times parameter
If I want it to say I love coding 10 times, is this close?
for rep = 0; rep > 10; rep++
output "I love coding!"
378,310 students got unstuck by Course
Hero in the last week
Our Expert Tutors provide step by step solutions to help you excel in your courses