Question: Create a method called whatTypeOfPedalCycle ( ) The mthod should take an int. The method should return a String based on the int that was
Create a method called whatTypeOfPedalCycle The mthod should take an int. The method should return a String based on the int that was provided. If the int is return unicycle, if the int is return, bicycle, if the int is return tricycle. if the int is anything else, return error. Use the method in your main method at least times.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
