Consider the following simple C program.
//C test #include int main() { int a, b, c; printf(\"Enter two numbers to add\\n\"); scan
A simple way would be,
int a=0, b=0, c=0;
initialise them to 0
0
Additionally, the check suggested by Midhun is good to check if there are two inputs.