#include <bits/stdc++.h> using namespace std; short int hanshu(unsigned short int x,unsigned short int y) { if(y==0) return -1; else return x/y; } int main() { unsigned short int a,b; cout<<"please enter a and b"<<endl; cin>>a>>b; cout<<hanshu(a,b)<<endl; return 0; }
标签:short,return,cout,int,unsigned,5.10,打卡 From: https://www.cnblogs.com/Sunyiran/p/17387309.html