Skill up with our free tutorials
#include <iostream> int getValue()// reset any error flags { int x{}; std::cin >> x; return x; } int main() { std::cout << getValue() + (getValue() * getValue()); // a + (b * c) return 0; }
No comments:
Post a Comment