Code:
#include <iostream>
using namespace std;
int main()
{
int Car_Year;
cout<<"Please Enter the Car Model."<<endl;
cin>>Car_Year;
if (Car_Year<1967)
{
cout<<"Few safety features."<<endl;
}
else if (Car_Year>1971 && Car_Year<=1991)
{
cout<<"Probably has head rests."<<endl;
}
else if (Car_Year>1991 && Car_Year<=2000)
{
cout<<"Probably has antilock brakes."<<endl;
}
else if (Car_Year>2000)
{
cout<<"Probably has airbags."<<endl;
}
else
{
cout<<"Invalid Selection."<<endl;
}
return 0;
}
Output:
Please Enter the Car Model.
1975
Probably has head rests.
Please Enter the Car Model.
1999
Probably has antilock brakes.
Please Enter the Car Model.
2005
Probably has airbags.
Please Enter the Car Model.
1955
Few safety features.
Explanation:
We were required to implement multiple If else conditions to assign car model year with the corresponding features of the car.
The code is tested with a wide range of inputs and it returned the same results as it was asked in the question.
Answer:
Man what class is this?
Explanation:
I ask that because that is a crazy class.
Answer:
Bending stress = 32.29ksi ∠ 33.0 ksi
Explanation:
CHECK BELOW FOR THE ANSWER IN THE FILE ATTACHED.
Answer:
the pressure reading when connected a pressure gauge is 543.44 kPa
Explanation:
Given data
tank volume (V) = 400 L i.e 0.4 m³
temperature (T) = 25°C i.e. 25°C + 273 = 298 K
air mass (m) = 3 kg
atmospheric pressure = 98 kPa
To find out
pressure reading
Solution
we have find out pressure reading by gauge pressure
i.e. gauge pressure = absolute pressure - atmospheric pressure
first we find absolute pressure (p) by the ideal gas condition
i.e pV = mRT
p = mRT / V
p = ( 3 × 0.287 × 298 ) / 0.4
p = 641.44 kPa
so
gauge pressure = absolute pressure - atmospheric pressure
gauge pressure = 641.44 - 98
gauge pressure = 543.44 kPa
Answer:
Explanation:
The mass of vented out in one day is: