#include <stdio.h>
int main(void)
{
int cp, sp;
printf("\nEnter cost price and selling price : ");
scanf("%d%d", &cp, &sp);
if(sp > cp)
{
printf("\nProfit");
}
else
{
printf("\nLoss");
}
return 0;
}
int main(void)
{
int cp, sp;
printf("\nEnter cost price and selling price : ");
scanf("%d%d", &cp, &sp);
if(sp > cp)
{
printf("\nProfit");
}
else
{
printf("\nLoss");
}
return 0;
}
No comments:
Post a Comment
kiss on google ads if you are anonymous because your ip is trackable.thank you.
......from.admin