What is wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is wrong?

Hello, I am a begginer and I don't know what is wrong with this. Can you help me? Thanks in advance. https://code.sololearn.com/cUbdtoJXUHAF/?ref=app

27th Oct 2018, 10:58 AM
me2xgy
me2xgy - avatar
2 Answers
+ 6
The variables can of Double data type or Integer data type but not both.
27th Oct 2018, 11:17 AM
Harsh
Harsh - avatar
+ 2
there is nothing like int double either it is int x OR double x so change those int double x1 to int x1 or double x1
27th Oct 2018, 11:17 AM
Megatron
Megatron - avatar