Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Document Word Layout References Mailings Review View Help Tell me what you want to do |g a. E] | 111 NormalTNoSpac Heading 1 Heading 2
Document Word Layout References Mailings Review View Help Tell me what you want to do |g a. E] | 111 NormalTNoSpac Heading 1 Heading 2 Title Paragraph Styles Using Visual Studio Create This Program using C# Design and implement a program (name it Youth) that reads from the user an integer values repressing age (say, age). The program prints out the entered values followed by a message as follows: If age is less or equal to 21, the message is "Age is a state of mind.". Finally, the program always prints out the message "Age is a state of mind." Format the outputs following the sample runs below. Sample run 1: You entered: 20 Youth is a wonderful thing. Enjoy. Age is a state of mind. Sampie run 2: You entered: 25 Age is a state of mind. e run 3: You entered: 21 Age is a state of nind. Document1 Word Layout References Mailings Review View Help Tell me what you want to do IA-e-A-1.lg-. |ITNormal | E- g-. |LT Normal]TT No Spac Heading 1 Heading 2 Title Paragraph Styles Using Visual Studio Create This Program Using C# Exercise #2: The weekly pay for an employee is determined based on the following Standard work hours by week is 40 hours Hourly pay rate is $10.00 per hour Overtime hours are paid at time and a half the rate (that is $15.00 per hour). Design and implement a program (name it ReeklyPay) that read number of hours worked per week (as integer value), prints out the entered hours, and then prints out the gross earning Organized your output following these sample runs Sample run 1: You entered 20 hours. Gross earning is $200.0 Sample run 2: You entered 40 hours Gross earning is s400.0 SAmpLe Fur s: lkou entered s0 houzs. Gross earning is 550.0 Pr Documentl Word ut References Mailings Review View Help Tell me what you want to do !10-m- 11 NormallTNoSpac 1 Heading 1 Heading 2 Title Paragraph Styles Using Visual Studio Create This Program Using C# Exercise #3: Design and implement a program ( name it bade esse) that uses a switch statement to print out a message that reflect the student grade on a test. The messages are as follows: For a grade of 100 or higher, the message is (That grade is a perfect score. Well done.) For a grade 90 to 99, the message is ("That grade is well above average. Excellent rork For a grade 80 to 89, the message is (That grade is above average. Nice job.") For a grade 70 to 79, the message is (That grade i Average work.") For a grade 80 to 89, the messsge is That grade is not good, you should seek help!" For a grade below 80, the message is CThat grade is not passing- Organized your output following these sample runs. Sarrple run 1: You entered 100 That grade is a perfect score. Rell done. Sample run 2: You entered 75 That grade is average. Sarple zun 3: You entered 55 That grade is not passing
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started