No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
//less than 10= "too cold", 10-20= "avarage", 21-30="hot",bigger than 30 ="Too Hot" import javax.swing.JOptionPane; public class TmaTwo { public static void main(String[] args) { int number; int temp; String numString; numString = JOptionPane.showInputDialog ("Enter temperature:"); number = Integer.parseInt(numString); if (number < 10 ) JOptionPane.showMessageDialog(null, "Too cold", "Output", JOptionPane.INFORMATION_MESSAGE); else if …
can anyone explain with me briefly of instance variables and local variables.
dear friend (everyone), hello, seems that i was a new student of programming fundamentals with java, the problem i had now is using the modulus as a formula to write an algorithm to add up all odd numbers between 0 and 100. so any idea of this kind of modulus …
The End.
pfuturama