operator is a keyword – use op for your variable name instead.
You want to input using the >> operator with cin, not the << operator.
solved C++ program produced many errors
operator is a keyword – use op for your variable name instead.
You want to input using the >> operator with cin, not the << operator.
solved C++ program produced many errors