Answer:
ok
Explanation:yes
Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?
Answer:
2p
Explanation:
if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p
1. Discuss data processing concepts and the representation of data in the computer
2. Explain how they work together to process data
Answer:
gkvjbdsvjnmfbhui jgbfdshjcxvabgsuciusgBFIULWGSfuRyt vqwyrgfgweVGYGTV7BWUIEGDWYUGDCYg
Explanation:
1) An employer has decided to award a weekly pay raise to all employees by taking the square root of the difference between his weight and the employee’s weight. For instance, an employee who weighs 16 pounds less than the employer will get a $4 per week raise. The raise should be in whole dollars (an int). Write a class file that prompts the user for the employee and the employer weight. Please output the correct raise amount making sure that all inputs are included in the output statement.
Answer:
Written in C++
#include <iostream>
#include<cmath>
using namespace std;
int main(){
int weight1, weight2, diff;
cout<<"Employees Weight: ";
cin>>weight1;
cout<<"Employers Weight: ";
cin>>weight2;
diff = abs(weight1 - weight2);
float pay = round(sqrt(diff));
cout<<pay;
return 0;
}
Explanation:
I've added the source file as an attachment where I used comments as explanation