Programme C pour pourcentage
//percentage program
//you can use the formula in your project :)
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,d;
printf("\n\tWelcome To Percentage maker");
printf("\n\n\tEnter a value for percentage :- ");
scanf("%d",&a);
printf("\n\n\tEnter Denominator value :- ");
scanf("%d",&b);
//c=a/b;//
//d=c*100;//
c=a*100;
d=c/b;
printf("\n\t%d%%",d);
getch();
}
IDEAL_DEV