New to C++, just wrote this code but wondering if there is an easier way to write this

后端 未结 0 1369
青春惊慌失措
青春惊慌失措 2021-02-15 00:55
#include 
using namespace std;

int main() {

   int userNum;
   int x; 
   
   cin >> userNum;
   cin >> x;
   
   userNum = (userNum / x);
         


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