Why this "happy valentine day" program show compilation error ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why this "happy valentine day" program show compilation error ?

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

13th Feb 2018, 5:53 AM
Gajendra Parmar
Gajendra Parmar - avatar
2 Answers
+ 1
After "double " you must set a semicolon
13th Feb 2018, 6:12 AM
Merer
Merer - avatar
+ 1
So, after defining the variable
13th Feb 2018, 6:14 AM
Merer
Merer - avatar