#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);
}
}
https://youtube.com/shorts/1GJpFnKyU88 So, I think I learned the difference between the self-respect and the ego in terms of making effort...
No comments:
Post a Comment