Question: On C# Write a method called rickRoll with a void return type, a string parameter, and an int parameter a . The method outputs the

On C#
Write a method called rickRoll with a void return type, a string parameter, and an int parameter
a. The method outputs the text "Never gonna..." plus the string parameter at the end. The method will do this as many times as the int parameter. If 0 or a negative number is entered for the int parameter, output "I gave you up" instead.
Write a method called evenOrOdd with a string return type and no parameters
a. In the method, ask the user for a whole number input
b. The method will return "Odd" if the number is odd, or "Even" if the number is even
Write a method called sevenAteNine that has an int return type and three int parameters
a. The method will return the value of the parameter that is the largest number
b. If there is a tie, pick one of the parameters with the highest value and return it
 On C# Write a method called rickRoll with a void return

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!