0

Can someone tell me what is wrong here??

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

31st Mar 2022, 12:54 PM
Abigail
3 Answers
+ 3
Use == not = for comparision (line 17 and 19) https://code.sololearn.com/cAO4zt3Vc7y7/?ref=app
31st Mar 2022, 1:03 PM
Abhishek Tandon
Abhishek Tandon - avatar
+ 1
Hi Abigail, you're assigning values instead of comparing them if((dt=11)&&(dt<=20)) ^^ Use == instead. Regards, Ralf
31st Mar 2022, 1:14 PM
Ralf Schoenian
Ralf Schoenian - avatar