Untitled
unknown
c_cpp
2 years ago
219 B
2
Indexable
#include <iostream> using namespace std; int main() { setlocale(LC_ALL, "Russian"); int a, b, c, d; cin >> a >> b >> c; cin >> d; if (d == 1) cout << a; if (d == 2) cout << b; if (d == 3) cout << c; }
Editor is loading...
Leave a Comment