Alice wanted to start a business
Answers
Answered by
0
Answer:
kxkggzyxyxususudpudududpududdupdupudldu
Answered by
1
Answer:
#include<iostream>
using namespace std;
int main()
{
int x,r,y;
float i,d,a;
std::cin>>x>>r>>y;
i=(float)x*r/100;
i=(y*i);
d=i*0.02;
a=x+i-d;
std::cout<<i<<"\n"<<x+i<<"\n"<<d<<"\n"<<a;
return 0;
}
Explanation:
x=100(amount)
i=total interest
x+i total to pay
d discount
a amount after discount
Similar questions