Q1-
unknown
c_cpp
10 months ago
330 B
6
Indexable
#include <iostream> using namespace std; int f91(int N) { if (N >= 101) { return N - 10; } else { return 91; } } int main() { int N; while (cin >> N) { if (N == 0) { break; } cout << "f91(" << N << ") = " << f91(N) << endl; } }
Editor is loading...
Leave a Comment