- 3

how to pass the task with the bus?

6th Mar 2021, 4:47 PM
ZiRoV _TV
ZiRoV _TV - avatar
12 Answers
+ 4
Please can more clarify your question!!
6th Mar 2021, 5:03 PM
Abhiyantā
Abhiyantā - avatar
+ 4
Please show your attempts!! So that we can help you!!
6th Mar 2021, 5:09 PM
Abhiyantā
Abhiyantā - avatar
0
ZiRoV _TV, as Rishav Tiwari said to you, show your attempt!!!
6th Mar 2021, 5:54 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
0
Don't you know about the term, "Show your attempt."? It means that you need to show your code!
6th Mar 2021, 5:54 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
0
#include <iostream> using namespace std; int main() { int a=126,b=50; int sum; sum=126-50; sum=50-26 cout<<sum; return 0; }
6th Mar 2021, 7:09 PM
ZiRoV _TV
ZiRoV _TV - avatar
0
what's wrong with it?
6th Mar 2021, 7:09 PM
ZiRoV _TV
ZiRoV _TV - avatar
0
All you need is a semi-colon (;) in line 8, and I recommend you to use << endl;
6th Mar 2021, 7:13 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
0
thank you
6th Mar 2021, 7:14 PM
ZiRoV _TV
ZiRoV _TV - avatar
0
You need to get the amount of seats left on the last trip if you're on the one that I think you are on. Its encouraging you to use the remainder function and subtraction, but you have to figure that out. Good luck!
7th Mar 2021, 2:44 PM
waffle
waffle - avatar
- 2
i can't pass the task with the bus in module 1
6th Mar 2021, 5:05 PM
ZiRoV _TV
ZiRoV _TV - avatar
- 2
budlaska throw off the cop
6th Mar 2021, 7:19 PM
ZiRoV _TV
ZiRoV _TV - avatar
- 2
Reset the code
6th Mar 2021, 7:20 PM
ZiRoV _TV
ZiRoV _TV - avatar