Answer:
<em>C++.</em>
#include <iostream>
using namespace std;
////////////////////////////////////////////////////////////////
int main() {
int weekly_hours = 0;
int hourly_rate;
float gross_pay = 0;
cout<<"Enter weekly hours worked: ";
cin>>weekly_hours;
cout<<"Enter hourly rate: ";
cin>>hourly_rate;
cout<<endl;
////////////////////////////////////////////////
if (weekly_hours > 40) {
gross_pay = (weekly_hours*hourly_rate) + ((weekly_hours*hourly_rate)*0.5);
}
else
gross_pay = weekly_hours*hourly_rate;
cout<<"Weekly gross pay: $"<<gross_pay;
////////////////////////////////////////////////
return 0;
}
In excel spreadsheets, you need to consider specifying relationships between the information you have
stored in your spreadsheets when creating formulas. The elements that will help
you understand using spreadsheet are the constants, operators, references and
functions. This will enable you to use the formulas, without hassle in
spreadsheets.
Answer:
A goal of procedural programming
An advantage of object oriented programming
A disadvantage of object oriented programming
A drawback of procedural programming