A fruitseller buys a dozen banana at rs.X.He sells at rs.Y.Write a program to determine the profit or loss
Answers
Answered by
1
It’s neither profit or loss
Answered by
3
Answer: I am writing the program in C++.
Explanation:
#include<iostream>
using namespace std;
Int main
{
Int x,y;
cout<<"enter the purchase price";
cin>>x;
cout<<"enter the selling price";
cin>>y;
If(x-y>0)
cout<<"profit";
else
cout<<"loss";
}
Similar questions