+ 1

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

Help me correct that

6th Aug 2016, 12:29 PM
Jasbinder Singh
Jasbinder Singh - avatar
4 ответов
0
No problem, if others can understand. please tell me
6th Aug 2016, 12:32 PM
Jasbinder Singh
Jasbinder Singh - avatar
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.
6th Aug 2016, 12:55 PM
James
James - avatar
0
It ran. Thanks very much James.
6th Aug 2016, 2:01 PM
Jasbinder Singh
Jasbinder Singh - avatar
- 1
sorry I don't know that !
6th Aug 2016, 12:31 PM
Sushil Adhikari
Sushil Adhikari - avatar