#include<iostream>
using namespace std;
int main()
{
int height;
cout<<"please enter your height in centimeters:";
cin>>height;
if(height<150)
{
cout<<"you are a dwest person";
}
else if(height>150&&height<165)
{
cout<<"you are a average height person";
}
else if(height>=165)
{
cout<<"you are a tall person";
}
else
{
cout<<"you enter wrong input";
}
return 0;
}
No comments:
Post a Comment