Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
You are missing semicolon after initialization statements. Put ; ex: int i =2 ; But you have learn more , first write code for taking inputs.. you are not declared x,y and not have inputs into x,y. First write code for first constraint of problem. Then go for next... Hope it helps.. edit: You can reply after the try...
1st Apr 2021, 12:29 PM
Jayakrishna 🇮🇳
0
dharmik patel You are not declared x,y yet. Declare those and take input into those..
1st Apr 2021, 1:36 PM
Jayakrishna 🇮🇳