Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 02 / Solutions / 03. Speed check.cpp
blob: 46603829194c807905c8761674fdb7c1825ff06a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
using namespace std;

int main()
{
	double speed;
	cin >> speed;
	
	if (speed <= 10)
		cout << "Slow" << endl;
	else if (speed < 50)
		cout << "Average" << endl;
	else if (speed < 150)
		cout << "Fast" << endl;
	else if (speed < 1000)
		cout << "Ultra fast" << endl;
	else
		cout << "Extremely fast" << endl;
}