Untitled
unknown
c_cpp
2 years ago
216 B
4
Indexable
#include <iostream> int main() { int input = 0; int count = 0; for (int i = 0; i < 25; i++) { std::cin >> input; switch (input) { case 1: count++; break; } } std::cout << count; }
Editor is loading...