МАМА Я ХОЧУ КУШАТЬ.
unknown
c_cpp
2 years ago
474 B
4
Indexable
// ConsoleApplication1.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы. // #include <iostream> using namespace std; int main() { int one_p, two_p, three_p; cin >> one_p >> two_p >> three_p; int number; cin >> number; if (number == 1) { cout << one_p; } if (number == 2) { cout << two_p; } if (number == 3) { cout << three_p; } }
Editor is loading...
Leave a Comment