#include<stdio.h>
int main()
{
float b, s, p;
if(s>b){
p=s-b;
printf("\nProfit %f %%",p
/b
*100); }
else{
p=b-s;
printf("\nLoss %f %%",p
/b
*100); }
}
I2luY2x1ZGU8c3RkaW8uaD4KaW50IG1haW4oKQp7CiAgICBmbG9hdCBiLCBzLCBwOwogICAgcHJpbnRmKCJCdXk6ICIpOwogICAgc2NhbmYoIiVmIiwmYik7CiAgICBwcmludGYoIlNlbGw6ICIpOwogICAgc2NhbmYoIiVmIiwmcyk7CiAgICBpZihzPmIpewogICAgcD1zLWI7CiAgICBwcmludGYoIlxuUHJvZml0ICVmICUlIixwL2IqMTAwKTsKfQplbHNlewogICAgcD1iLXM7CiAgICBwcmludGYoIlxuTG9zcyAlZiAlJSIscC9iKjEwMCk7Cn0KfQ==