0

Fibonacci and mTable

Can someone help me to fix the error of my code please.. https://code.sololearn.com/cZTKhIkkLurP/?ref=app https://code.sololearn.com/cgs909f8MRoW/?ref=app

31st Jul 2021, 4:56 PM
Sachiikoo
Sachiikoo - avatar
7 Antworten
+ 3
Sachiikoo This was not a big error try to solve it self and use debugger it will help you to find your mistakes
31st Jul 2021, 5:31 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Your first code is working without any syntectic error but in Second program line number 22 System.out.print("Fibonacci numbers below " + num + " " + "\\"); Here u put backslash so your double quotes will be ignored by Compiler and it will show syntex error becz double quotes or single quotes always comes with pair and due to back backslash your one double quotes is showing missing. You need put one more double quotes or u can put double back slash which i have written replace your this line with my written line it will work fine
31st Jul 2021, 5:10 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Thank you to the both of you😊.
31st Jul 2021, 5:29 PM
Sachiikoo
Sachiikoo - avatar
+ 2
abol i didn't think my answer is good than yours actully big thing was for me that after my answer he understood his mistake .
31st Jul 2021, 5:40 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Thanks A.S . I try Nextime ('
31st Jul 2021, 5:40 PM
Sachiikoo
Sachiikoo - avatar