0

help! end of a module final 12

c++ input =12 my output=24 expected output=38

21st Mar 2021, 6:37 AM
Ghassan Al'smar
Ghassan Al'smar - avatar
10 odpowiedzi
+ 2
Post your attempts, to help u out
21st Mar 2021, 6:42 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 2
Hi! what type of help do you need? ask a detailed question
21st Mar 2021, 6:42 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
ask a good, beautiful, detailed question with an example of the task and an attempt at your solution. provide your full code, not part of it. imagine that you want to write a short story about your problem. the better you do it, the more likely you are to help. otherwise, it is difficult for me and others to understand what you want
21st Mar 2021, 8:25 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
No, he meant the code that you wrote
21st Mar 2021, 6:50 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
input =12 my output =24 expected output=38
21st Mar 2021, 6:46 AM
Ghassan Al'smar
Ghassan Al'smar - avatar
0
Please, show us your code attempt
21st Mar 2021, 6:47 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
I cannot compile the code ...
21st Mar 2021, 6:49 AM
Ghassan Al'smar
Ghassan Al'smar - avatar
0
int a=12; int b=24; cin>>a; cout<<b;
21st Mar 2021, 6:52 AM
Ghassan Al'smar
Ghassan Al'smar - avatar
0
Are you trying to solve the problem of transporting passengers by bus? is this your complete code? or is there something else?
21st Mar 2021, 8:18 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
No, this required input. I made the program based on these values, but it was all wrong .... Two days ago, I was trying to make a correct program
21st Mar 2021, 8:21 AM
Ghassan Al'smar
Ghassan Al'smar - avatar