ITS C hope it helps goo luck!
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.
8wmX si2 jkkajmid di e2 2i2
Answer:
felony
Explanation:
It is an offence on the part of a boat operator who is under the control of alcohol while boating, as such could result in property damage, serious bodily injury or death. Where such leads to bodily injury or deaths, the operator could be convicted for felony while misdemeanor applies to property damage.
There have been a reoccurring boating incidence in the country especially in the state of Florida, which has the highest number of boating fatalities hence created stiff penalties for boating under the influence of alcohol.
While it is adviseable for motorists not to drink and drive, it is also not lawful be under the influence when boating as such could cause injury, deaths or property damage and such operator would receive appropriate penalty depending on the outcome of the incident.