how to settle this question?

A lecturer who is invited as a speaker on trainer by any government organization will be paid according to the rate as stated above.
Write a function that accepts the qualification code and number of lecturing hours as input parameters. Calculate the total payment by multiplying the rate per hour and number of lecturing hours. This function returns the total payment by using return statement.

PHD, code P 400 dollar per hr
master, code M 250 dollar per hr
degree, code B 100 dollar per hr
Last edited on
We are not a code writing service. If you want to learn programming, make a plan and start writing some code and if you get stuck you can get help.

If you don't want to learn better go to:
https://www.assignmentexpert.com/blog/do-my-c-homework/
http://www.tutorsonnet.com/c++-programming-homework-help.php
Write a function:
code and hours as input parameters
rate = according to code
total payment = multiply rate and hours
return total payment
Topic archived. No new replies allowed.