+ 1

Pls run my code it's showing error

https://code.sololearn.com/cswugUVy6lbK/?ref=app

9th Nov 2022, 12:30 PM
GAURAV KUMAR
9 Answers
+ 2
Yes. If you don't use that variable, then what is the need of that variable? Why to just declare? Remove it.
9th Nov 2022, 3:16 PM
Jayakrishna 🇮🇳
+ 1
What error you are facing? What are your inputs? Can you more details..!!
9th Nov 2022, 12:41 PM
Jayakrishna 🇮🇳
+ 1
Yes remove it and add the printf for output
10th Nov 2022, 8:30 AM
♡GDY♡
♡GDY♡ - avatar
0
Error is in 4th line .. it says unused variable
9th Nov 2022, 12:49 PM
GAURAV KUMAR
0
Run that above program that I've sent
9th Nov 2022, 12:49 PM
GAURAV KUMAR
0
unused variable 'spl_dis'
9th Nov 2022, 12:50 PM
SoloProg
SoloProg - avatar
0
Should i remove that variable ?
9th Nov 2022, 12:54 PM
GAURAV KUMAR
0
Pls help me
9th Nov 2022, 3:07 PM
GAURAV KUMAR
0
Remove the spl_dis name variable
13th Nov 2022, 7:57 AM
Seema Nakani