delete pics to save space
This commit is contained in:
14
history_source/ccf 入门篇/U3/3.1.2(2).cpp
Normal file
14
history_source/ccf 入门篇/U3/3.1.2(2).cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include<iostream>
|
||||
#include<cmath>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int a,b,c=0,d=0;
|
||||
cout<<"a,b=";
|
||||
cin>>a>>b;
|
||||
if(a>b)
|
||||
c=a/b;
|
||||
d=a%b;
|
||||
cout<<c+d;
|
||||
while(true);
|
||||
}
|
Reference in New Issue
Block a user