Help me again(solved) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me again(solved)

David and Alex have aquariums. There are 8 rainbow fish swimming in David's aquarium, and 11 scalars are swimming in Alex's aquarium. Help them exchange their fish. Modify the code to change the values ​​of the aquariumDavid and aquariumAlex variables. https://code.sololearn.com/ctS7Og1eA78P/?ref=app What the hell ive done wrong Req inp 11 8 Req out 11 8

23rd Mar 2021, 12:03 AM
Nazik Sidorchuk
Nazik Sidorchuk - avatar
2 Answers
+ 4
You need to check the space size between colon (:)and quotes (") cout << "David's aquarium: " << aquariumDavid << endl; cout << "Alex's aquarium: " << aquariumAlex;
23rd Mar 2021, 1:29 AM
Simba
Simba - avatar
+ 1
Ty)
23rd Mar 2021, 8:04 AM
Nazik Sidorchuk
Nazik Sidorchuk - avatar