Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+4 votes

In rr11 q3 we have to print the statement once right?
And not three times as the other ones are to check if our program is running fine or not.....

asked in CSC201 Spring 2021 by (1 point)

2 Answers

+1 vote

Yes. You need to run the code one time only, but it has to have all three verses.

answered by (1 point)
0

Oh thanks

+1 vote

No, it should print all three times. You should use a main function to run your verse function 3 times, with appropriate parameters.

answered by (1 point)
0

So basically I need 3 more functions with different parameters?
This problem is similar to the one we did in class right?

0

It is very similar to the old mcdonald example, yes.

...