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

后端 未结 0 1080
轻奢々
轻奢々 2021-02-15 00:40
#include 
using namespace std;

int main() {

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


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