Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program to run the following methods in C#. 2) Write a method that takes in a teachers last name and exam number via

Write a program to run the following methods in C#.

2) Write a method that takes in a teachers last name and exam number via parameters. Ask the teacher (using her name) to tell you the highest score on that exam. Your question should look something like Ms. Jones, what was the highest grade on test two? Return the value of the highest grade to the calling method.

3) Write a function called MinOfThree that takes in three numbers and returns the smallest.

6) A parking lot charges a minimum fee of $5 to park for 2 hours, and then $1 for each additional hour. The maximum charge is $10.00 per day. Write a function named Fee that takes in the number of hours parked, and returns the amount of money owed.

7) Write a function that takes in a users hourly rate and hours worked. Calculate and return the users gross pay. The user gets time and one half for any time worked over 40 hour.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

KEY QUESTION Refer to Figure 3.6, page

Answered: 1 week ago