Answer:
hehe the drawing toolbar has been used for school and block and Jerry hall is good enough
Answer:
Following are the code to the given question:
#include <iostream>//header file
using namespace std;
int NumberOfPennies(int ND, int NP=0)//defining a method that accepts two parameters
{
return (ND*100 +NP);//use return keyword that fist multiply by 100 then add the value
}
int main() //main method
{
cout << NumberOfPennies(5,6) << endl; // Should print 506
cout << NumberOfPennies(4) << endl; // Should print 400
return 0;
}
Output:
506
400
Explanation:
In the method "NumberOfPennies" it accepts two parameters that are "ND and NP" that uses the return keyword that multiply 100 in ND variable and add in NP variable and return its values.
In the main method it it uses the cout method that call the by accepts value in parameter and print its value.
<em><u>Answer</u></em>
5 hours
<em><u>Explanation</u></em>
The two working together can finish a job in

Also, working alone, one machine would take one hour longer than the other to complete the same job.
Let the slower machine working alone take x hours. Then the faster machine takes x-1 hours to complete the same task working alone.
Their combined rate in terms of x is

This should be equal to 20/9 hours.

Multiply through by;





Factor to get:


It is not feasible for the slower machine to complete the work alone in 4/9 hours if the two will finish in 20/9 hours.
Therefore the slower finish in 5 hours.