+ 2

I made a code named Advisors Logging In Process. Please check and tell me my mistake.

I am getting 2 errors. One is line 11 which is the for statement. For(i=0;i<10;i++) It says error:expected ')' before ';' token.... Next line it says error: expected ';' before ')' token. The second error is in line 71. It says error: expected ')' at the end of input. I don't know how to display my entire programme in the question section. I have saved it as Advisors logging in process. Thank you. https://code.sololearn.com/cEAicJ2I5J5r/?ref=app

19th Sep 2017, 12:23 AM
Miss Rashmi Lulla
8 Antworten
+ 3
https://code.sololearn.com/cEAicJ2I5J5r/?ref=app
19th Sep 2017, 12:37 AM
Daniel
Daniel - avatar
+ 3
You must only here push in insert and select code, next search your code or code which you want to share
19th Sep 2017, 12:38 AM
Daniel
Daniel - avatar
+ 3
Thanks Daniel
19th Sep 2017, 12:40 AM
Miss Rashmi Lulla
+ 3
Check some corrections and compare https://code.sololearn.com/c564noBNEi58/?ref=app
19th Sep 2017, 12:42 AM
Daniel
Daniel - avatar
+ 3
Where finish your function newAdvisors()??? You have several errors
19th Sep 2017, 12:46 AM
Daniel
Daniel - avatar
+ 3
Why you want to add 10 advisors since the beginning? It must be a function which you run only when you want to register one, although in Sololearn is a bit complex to input all these data.
19th Sep 2017, 12:50 AM
Daniel
Daniel - avatar
+ 3
Thanks a lot Daniel. From those changes that you made I realised my mistakes. I thought ending my newAdvisors() function after the return statement will do. I am feeling so happy after my program has been rectified. Thx
19th Sep 2017, 1:01 AM
Miss Rashmi Lulla
+ 2
As I said you must to change other things
19th Sep 2017, 1:32 AM
Daniel
Daniel - avatar