Question: Write a program that prompts the user for an hourly pay rate. If the value entered is less than $5.65 or greater than 50, display
00 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 static void Main(string[] args) { /*declare 2 variables of type double * declar a str var to accept input and store it in the double vars declared before * still we need to accept input for? operator(+,-,* or ) * declare a char var accept input into it! * declare a var of type double to store answer * switch on the operator variable case '+' calculate answer * same as before * don't forget about the default when you exit the switch body ( ) output num1, the operator, the = sign and answery case } utput how outotho Pedage Manager
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
