C and C++

Write a program to perform division of 2 nos

#include
int main()
{
 int a,b;
float c;
 printf("Enter 2 nos : ");
 scanf("%d %d", &a, &b);
 if(b == 0)
 {
 printf("Division is not possible");
 }
c = a/b;
printf("quotient is %f \n",c);
 return 0;
} 
Enter 2 nos: 6 2
quotient is 3
Output:
Enter 2 nos: 6 0
Division is not possible