- 2
I need some help here guys! Can you solve this for me please?
7 Answers
+ 7
ik@81 here's, try with this one:
⢠https://code.sololearn.com/cqA7Wjs801D6/?ref=app
but pay more attention, analyze the task and what you need to do..
+ 8
ik@81
If you need help, you can post the code you're struggling with. Try to search for similar questions or answers before posting.
Please do not ask someone else to do it for you.
 ⢠https://www.sololearn.com/post/75089/?ref=app
+ 6
Nope.
+ 4
ik@81 yes we can solve but before that you need to solve self.
+ 1
thank you Danijel so much its work
its great solution!
0
I have tried already , but I didnt got it right .
I need a better solution to solve this!
thanks guys!
0
#include <iostream>
using namespace std;
int main()
{
int purchaseAmount = 0;
int totalPrice;
//your code goes here
do {
cin >> totalPrice ;
purchaseAmount = 225;
cout << purchaseAmount << endl;
purchaseAmount += totalPrice ;
cin >> totalPrice ;
purchaseAmount = 252;
cout << purchaseAmount << endl;
cin >> totalPrice ;
purchaseAmount = 1039.5;
cout << purchaseAmount << endl;
purchaseAmount += totalPrice ;
} while ( totalPrice < 15);
return 0;
}
how to input
output and what is the condition should I use ?
please guys help me out ! im strugled for now!
i am a new learner .