Home > Back-end >  C rookie novice, ask the source code of a addition, subtraction, multiplication, and division
C rookie novice, ask the source code of a addition, subtraction, multiplication, and division

Time:10-04

Two operation code, the number of addition, subtraction, multiplication, and division of the most basic, don't be too complicated

CodePudding user response:

 # include 
Int main () {
using namespace std;
Int a, b, c;
Cin> a> b;
C=a + b;
Cout<& lt; C & lt; & lt; endl;
exit(0);
}

CodePudding user response:

Can calculate can be addition, subtraction, multiplication, and division, not only is additive

CodePudding user response:

The building Lord you so directly for the code, will be when stretched out his hand and the party's
What are you going to do this, there are many online can reference - let's see if this does not meet your requirements

CodePudding user response:

Just reading began to self-study, someone told me to try to write a code (add, subtract, multiply or divide a single addition or subtraction will, can be a computer operation four won't write, is pure want to learn how to write, hope to have a big brand