c program to find percentage

#include<conio.h>
#include<stdio.h>
main()
{
float a,b,per;
printf("type numberator: ");
scanf("%f",&a);
printf("type denominator: ");
scanf("%f",&b);
per=a*100/b;
printf("percentage:%f",per);
getch();
}

Comments

Popular posts from this blog