Answer: 8
And if you hold shift while typing it, it gives *
The following code will program that prompts the user to enter the num- ber of hours a car is parked at the airport and outputs the parking fee.
<u>Explanation:</u>
Code:
#include<iostream>
using namespace std;
int main()
{
float hours;
cout <<"Enter number of hours a car parked at the airport: "; // prompt the user to enter hours.
cin >> hours ; // strong the hours
if (hours > = 0 && hours < =3 ) // if 0 < = h < = 3
cout << "Parking fee: 5"; //printing parking fee is 5.
else if (hours > 3 && hours < = 9)//if 3 < h < = 9
cout<<"Parking fee: "<<6*int(hours);//converting float value to int the multiplying with 6 then printing fee.
else//if 9 < h < = 24
cout<< "Parking fee: 60";// printing parking fee 60.
return 0;
}
The function library group is located in the "formulas" tab
Answer:
You should be strong, and be sure about what you want to say. Make sure when you speak it is clear, and makes sense.
Explanation:
If you don't speak up or sound like you know what you are talking about. I like to think of it as dancing. Act like you own the stage, or in your case, like you own the presentation. Also, I suggest you speak to your teacher in private, about him ignoring you. If I were you, I would look for newer friends. Ones that won't ignore you.