Guys need nku inyo tabang unsaun di pg input ug arithmethic operator in a running c++ program ? dba if number or something ang e input mugmit man ta ug "cin >> " pero what if arithmetic operator na ang dpat e butang labi na and modulos % ng libog ko
heres an example na dpat mu gwas sa program:
Enter n1: 5
Enter n2: 4
Enter opt: +
-----------------
The sum is: 9
Enter n1: 5
Enter n2: 2
Enter opt: %
----------------
The remainder is: 1
note: i am using an switch statements (case) and i am using visual basic 2010 c++