#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");
}
}
zme27 - Automatic STO creation mmbe - Stock Overview, Material, Batch me51n - Create Purchase Requisition me21n - Create Purchase Order me59...
No comments:
Post a Comment