Answer:
Assuming this is Python, I would do something like the following:
Explanation:
hourWage= float(input ("What is your hourly wage?: "))
regularHours= float(input ("How many regular hours did you work this week?: "))
overtimeHours= float(input ("How many overtime hours did you have this week?: "))
overtimeWage= (1.5*hourWage)
totalWeeklyPay= (hourWage*regularHours)+(overtimeHours*overtimeWage)
print= ("Your total weekly pay is: " ,totalWeeklyPay)
I hope this works!
Answer: syntax is a set of rules for grammar and spelling. In other words, it means using character structures that a computer can interpret
Frist, we define the variable outfile by this line:
ofstream outfile;
Since the variable is to be used to write data from program variables, we don't assign it any type of variable for it to be a general variable for different values<span />
Answer:
missing bracket
Explanation:
Notice that the "body" block has an opening bracket, but no closing bracket. Instead, the "p" block starts before the "body" block has closed. The "body" block is missing a bracket.
The keyboard is used to input information. (Entering data)