home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ float a; float b; float div; clrscr(); printf("Enter value of a: "); scanf("%f",&a); printf("\n Enter value of b: "); scanf("%f",&b); div = a / b; printf("\n %f / %f = %f",a,b,div); getch(); }
Program Output
Enter value of a: 35 Enter value of b: 7 35.000000 / 7.000000 = 5.000000