+ 1

Why am i getting this warning?

Here if i remove the p variable then it says p undeclared and if i keep it it says that it is never used.Why? https://code.sololearn.com/c2Sv9ttP3242/?ref=app

2nd Nov 2019, 11:32 AM
Spandan Bhattacharya
Spandan Bhattacharya - avatar
1 Answer
+ 3
Remove `p` from line 9 : int number,n,p,c=1; remove this statement p=number%10; From line 15. remove this duplicate post from QA forum ( I know it happens due to network error ) https://www.sololearn.com/Discuss/2056170/?ref=app
2nd Nov 2019, 11:44 AM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar