Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
277 B
1
Indexable
Never

#include <iostream>

using namespace std;
int main()
{
	int a, b, c,v;
	cin >> a >> b >> c;
	cin >> v;
switch(v){
case 1:
	cout << a << endl;
	break;
case 2:
	cout << b << endl;
	break;
case 3:
	cout << c << endl;
	break;
default: break;

	


	}
}
Leave a Comment