Programming in C# Program
1. Create a program (console or GUI, your choice) called Calculamatron that will prompt a user for the length, width, and height (all in feet) of a room. The program will then call a method (written by you) that computes the volume (in cubic feet) of the room using the user-provided values. You must pass those values (as parameters) to your method. The method will use those parameters to figure the volume of the room (formula is length * width * height) then RETURN that value. The code that called the method should display the value that was returned by your method.
2. Create a program called Magic8Ball (console or GUI, your choice). The program should contain a method (written by you) that declares an array of at least five strings with Magic 8-Ball type phrases such as "The answer seems certain" (you can make up the phrases or use traditional ones--google magic 8ball phrases to see them. Your method should accept one parameter, an index into the array of phrase strings. Your method will display the phrase associated with the index that's passed into the method. For example, if the string at phrases[4] was "The future seems cloudy" and the calling program passed the value 4 into your method then the method would display "The future seems cloudy." Include error-handling in your method so that only valid indexes will produce output.
9 years ago 30
Purchase the answer to view it
- calculamatron.zip
- magic8ball.zip
- calculamatron_test_screenshot.png
- magic8ball_test_screenshot.png
- magic8ball_test_screenshot1.png
Purchase the answer to view it
- magic8ball_test_screenshot.png
- calculamatron_test_screenshot.png
- use the data and make a 600 words paper explaining each calculation
- Task Name: Phase 3 Individual Project Deliverable Length: 1 page Details: Weekly tasks or assignments (Individual or Group Projects) will be due by Monday and late submissions will be assigned a late penalty in accordance with the late penalty policy fou
- early childhood project
- Health plans
- Political event
- Fin 571 Week 1 Identify the different business structures ( Need 100% original work )
- Critical analysis for "the wife of his youth" by charles Chesnutt
- We get the novel from matt's perspective , so we dont hear conversation between other characters that happen outside of...
- Inorganic lab
- MKTG 522 Week 3 + Week 5 Quizzes.............DeVry