Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
250 B
0
Indexable
Never
#include <iostream>
using namespace std;


int main()
{
	setlocale(LC_ALL, "Russian");

	int a, b, c;
	int mug = 0;

	cin >> a >> b >> c;
	cin >> mug;

	if (mug == 1) cout << a;
	if (mug == 2) cout << b;
	if (mug == 3) cout << c;

}
Leave a Comment