0

Looking for tips in order to improve.

Been tinkering with my code, but I fail to figure out what’s wrong. Any help would be appreciated! https://code.sololearn.com/cNm1qr8ZWKVV/?ref=app

18th Jan 2022, 11:30 AM
Ricardo Gonzalez Cancelo
3 Answers
+ 4
There are many logical and syntax issues in your code. I've used Convert.ToInt32 instead of Convert.ToInt. Variables a and b are boolean not integer. You have to set a and b inside the loop. And you have maybe to check the case for a and b == true at first. Look at this: https://code.sololearn.com/cjYt6f5QFaE8/?ref=app
18th Jan 2022, 12:15 PM
Coding Cat
Coding Cat - avatar
+ 1
Thank you very much for your help. I really appreciate it :) Will keep that in mind. Specially the fact that a and b are booleans. Makes a lot more sense!
18th Jan 2022, 5:11 PM
Ricardo Gonzalez Cancelo
+ 1
Start studying logical and algorithm, it'll make easier to learn any languages
6th Feb 2022, 7:16 PM
Jerssie Sousa
Jerssie  Sousa - avatar