Cin wont take both operations with (a, op, b), how can I make sure to fix this program?

前端 未结 0 655
小鲜肉
小鲜肉 2021-01-25 05:41

Code: https://repl.it/@kayt22/Mid-Final-1#main.cpp

Maybe there is a way I can set b to equal 0 as default and then this will work?

   switch(op) {
     cas         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题