How to check the square number in net beans? I wanna check that number also odd number. Any method? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to check the square number in net beans? I wanna check that number also odd number. Any method?

22nd Dec 2019, 5:25 AM
Rakshika Radhakrishnan
2 Answers
0
How to get square number in NetBeans.. and that square number is also odd number ... any madhod?
22nd Dec 2019, 2:06 PM
Rakshika Radhakrishnan
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
22nd Dec 2019, 2:58 PM
Jayakrishna 🇮🇳