#include <stdio.h>
int main() {
float p,s;
printf("Enter purchase & selling amount:");
scanf("%f %f",&p,&s);
if(p<s)
{
printf("Profit of %.2f Rs",s-p);
}
else
{
printf("Loss of %.2f Rs",p-s);
}
}
YouTube Video Hi. So, uh very happy brother's day to all the lovely brothers out there who has been endlessly working on and uh taking ...
No comments:
Post a Comment