WAP in C to make simple calculator using user defined function
It's a C program through which you can make Simple Calculator through User Defined Function.
In it we can do addition of two numbers, subtraction of two number , multiplication of two number an division of two numbers ,But on our need we can increase the variables and be able to do many numbers addition ,subtraction , multiplication and division .
Here we have use fflush(stdin); function to take standard input as after entering integer value we can't take string characters so to take string we use this function..
It's a C program through which you can make Simple Calculator through User Defined Function.
In it we can do addition of two numbers, subtraction of two number , multiplication of two number an division of two numbers ,But on our need we can increase the variables and be able to do many numbers addition ,subtraction , multiplication and division .
Here we have use fflush(stdin); function to take standard input as after entering integer value we can't take string characters so to take string we use this function..