PROGRAME FOR THE FLOAT DIVISION
#include<stdio.h>
#include<conio.h>
float main()
{ int a, b;
float div;
printf("Enter two integers,\n");
printf("-----------------------,\n");
printf("enter first integer:");
scanf("%d",&a);
printf("\nenter second integer:");
scanf("%d" ,&b);
div=a/(float)b;
printf("\nanswer of %d / %d is %f",a,b,div);
return 0;
0 Comments