#include <stdlib.h>
#include <iostream> // for cout and cin
#include <stdio.h>
#include <cstdlib> // for system
using namespace std;
int main()
{
int speed;
int length;
cout<<"enter the aircraft's speed and length"<<endl;
cin>>speed>>length;
if (speed > 1100 && length > 52) cout<<"civilian aircraft"<<endl;
else
{
if(speed < 500 ) cout<<"It is a bird"<<endl;
else
cout<<"military aircraft"<<endl;
}
system("pause");
return 0;
}
Comments
Leave a comment