0
How to check the square number in net beans? I wanna check that number also odd number. Any method?
2 ответов
0
How to get square number in NetBeans.. and that square number is also odd number ... any madhod?
0
In which language?
Net beans is an IDE.
So, that does not affect your logic or program which runs on other IDEs. (I hope).
For an odd number
Num%2==1 then it is odd.
For square number,
Num*Num=square number,
Calculate this from 1 to square number until a match found...
Ex: 5*5 =25 is square number.
3*3=9 is a square number.
Edit: To run Net beans or any thing about Net beans, check this link. Hoping it helps you..
https://docs.oracle.com/javase/tutorial/getStarted/cupojava/netbeans.html