Question: given the following main function: int main ( ) { int num 1 = 2 1 , num 2 = 6 ; / / test

given the following main function:
int main(){
int num1=21, num2=6; // test the code using num2=6 & num2=0
int sum=0, mult=0, sub=0;
double div=0;
if(calculation(num1,num2,sum,mult,sub,div)){
cout<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!