Please search for a^2+b^2=2c^2 in most recent code playgrounds | Sololearn: Learn to code for FREE!

+1

Please search for a^2+b^2=2c^2 in most recent code playgrounds

Help me correct that

8/6/2016 12:29:26 PM

Jasbinder Singh

4 Answers

New Answer

0

No problem, if others can understand. please tell me

0

Youre not telling your for loops what the variables a, b, c are to start, ie you haven't initialized them. Set them to 0 so for(int a = 0; a < 10; a++) and so on.

0

It ran. Thanks very much James.

-1

sorry I don't know that !