Question: Question 1- Given that Mark worked 42 hours ( NumHours = 42 ) last week and makes $10.00 an hour ( Rate = 10 ),
Question 1-
Given that Mark worked 42 hours (NumHours = 42) last week and makes $10.00 an hour (Rate = 10), how much did he earn last week, before taxes (WeeklyPay)?
If (Rate >=10) AND (NumHours <=40) Then WeeklyPay = NumHours * Rate Else WeeklyPay = (40 * Rate)+(NumHours40) * Rate * 1.5 End If
| $ 650 |
| $ 500 |
| $ 420 |
| $ 430 |
Question 2-
This particular type of error causes the program to stop functioning or provides an unexpected result depending upon user input.
| syntax |
| modular |
| logical |
| run-time Question 4- Which type of error causes a program to run but provides incorrect or unexpected results?
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
