Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Change the C code to calculate the quotient (e.g. a/b) of two floats (e.g. 2.3/1.5).Hint: Use float variable types as opposed to integers. What

Change the C code to calculate the quotient (e.g. a/b) of two floats (e.g. 2.3/1.5).Hint: Use float

variable types as opposed to integers. What happens if the denominator is 0.0? Support your

experimentation with screen captures of executing the new code

#include <stdio.h>

int main ()

{

/* variable definition: */

int a, b, c;

/* variable initialization */

a = 10;

b = 20;

c = a + b;

printf("Integers (a,b) and sum (c) are : %d,%d,%d n", a,b,c);

return 0;

}

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question