Question: 1. Create your own four methods in total. 2. The methods should allow the user to perform the following operations: a. Add any four numbers
1. Create your own four methods in total. 2. The methods should allow the user to perform the following operations: a. Add any four numbers then multiply the result by 5 . b. Multiply two numbers. c. Multiply any three numbers and add the number 2. d. Join two string values together separate by a space. 3. Call the methods 1 to four from your main program and allow the user to enter 6 variables in total 4 numeric and 2 string. Then in your main run all methods so I should see 4 answers. The method should only return the answer (not display it). All results should be displayed from the main program. 4. Practice to write the methods on paper you will need to able to read and write small amounts of code on your own. 5. Then check code for errors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
