Answer:
i believe 37.5% of her day
Step-by-step explanation:
It takes value from a user and then user the operation of (+,-,*/).
i used c++ programming language to solve this program:
#include<iostream>
using namespace std;
int main() {
int var1, var2;
char operation;
cout << "Enter the first number : ";
cin >> var1;
cout << endl;
cout <<"Enter the operation to be perfomed : ";
cin >> operation;
cout << endl;
cout << "Enter the second nuber : ";
cin >> var2;
cout << endl;
bool right_input = false;
if (operation == '+') {
cout << var1 << " " << operation << " " << var2 << " = " << (var1 + var2);
right_input = true;
}
if (operation == '-') {
cout << var1 << " " << operation << " " << var2 << " = " << (var1 - var2);
right_input = true;
}
if (operation == '*') {
cout << var1 << " " << operation << " " << var2 << " = " << (var1 * var2);
right_input = true;
}
if (operation == '/' && var2 != 0) {
cout << var1 << " " << operation << " " << var2 << " = " << (var1 - var2);
right_input = true;
}
if (operation == '/' && var2 == 0) {
cout << "Error. Division by zero.";
right_input = true;
}
if (!right_input) {
cout << var1 << " " << operation << " " << var2 << " = " << "Error;";
cout << "Invalid Operation!";
}
cout << endl;
system("pause");
return 0;
}
Answer:
It would be 3C, 2C, 0C, -6C, -7C, -9C, then -18C
Step-by-step explanation:
This is because the larger a postive number is above 0, the greater it is. Along with this, the smaller a negative number is, the less it is.
Based on the calculation below, Cheryl's net pay is $1,667.50.
<h3>How do we calculate net pay?</h3>
Cheryl's net pay can be calculated using the following formula:
Net pay = Gross pay * (100% - 30% - 12%) ......................... (1)
Substituting for gross pay in equation (1), we have:
Net pay = $2,875 * (100% - 30% - 12%)
Net pay = $2,875 * 58%
Net pay = $1,667.50
Learn more about net pay here: brainly.com/question/14690804.
#SPJ1