#include <stdio.h>
int main() {
float p,s;
printf("Enter purchase & selling amount:");
scanf("%f %f",&p,&s);
if(p<s)
{
printf("Profit=%.2f",s-p);
}
else if(p>s)
{
printf("Loss=%.2f",p-s);
}
else
{
printf("No profit or loss");
}
}
https://youtube.com/shorts/I09jcicjGnA Right. [clears throat] So I want to share that over the time I have realized that you there is a hi...
No comments:
Post a Comment