#include <iostream>
using std::cout;
using std::cin;
int main()
{
int skill;
cout << "Введите скил пресонажа: ";
cin >> skill;
if (skill < 1000) {
cout << "Lvl 1";
}
else if (skill < 2500) {
cout << "Lvl 2";
}
else if(skill < 5000) {
cout << "Lvl 3";
}
if (skill >= 5000) {
cout << "Максимальный скил";
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter