77 952
Assignments Done
Successfully Done
In August 2019

Answer to Question #91494 in C for Surya

Question #91494
Write a C program to read 1 integer input and 1 float input from user. With the inputs, calculate the quotient and print it to screen.
Expert's answer

#include <stdio.h>

int main() {

int divider = 0;

float dividend = 0.0;

scanf("%d", &divider);

scanf("%f", &dividend);

float quotient = divider / dividend;

printf("quotient is %f\n", quotient);

return 0;


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions