Odd, Even number checker in Java A java program that wil determine if the number entered by the user is an odd or even number. The java program has two versions the gui and the console based program. The gui…
Tag: java source codes
Basic Math Functions in Java
Basic Math Functions in Java This java program is written in console and gui format. The program will demonstrate the basic mathematical operators (add, minus, divide and multiply). It has also a do while loop which allows the user to…
High, Low number checker in Java
High, Low number checker in Java This sample java program will determine the highest and the lowest number entered by the user. The program will ask the user to enter 3 numbers and the program will display which is the…
Area of Rectangle Solver in Java
Area of Rectangle Solver in Java It is a very simple program intended for beginners who wants to learn java programming language. The program will computer for the area of a rectangle, the user will be ask to enter the…
ComboBox in Java
ComboBox in Java A gui program in java that demonstrate how to add a combo box in a window. The program uses swing library. JComboBox is one of the component of swing library.
Centimeter to Meter converter in Java
Centimeter to Meter converter in Java This not just a centimeter to meter converter, you can also convert meter to centimeter. This is a java program written in console and gui version that allows the user to select an option…
Celsius to Fahrenheit converter in Java
Celsius to Fahrenheit converter in Java Same with the previous program, the user has the option to either convert Celsius to Fahrenheit or Fahrenheit to Celsius. This is a GUI program in java that uses swing library and JOptionPane message…
Total Cost Solver in Java
Total Cost Solver in Java A sample source codes in java that will compute the total cost you have purchased. The formula is total cost is equal to the price of the item multiply to the quantity of the item…
Get the Square and Square Root of a number in Java
Get the Square and Square Root of a number in Java This java program will accept an input from a user and then the program will display the square and the square root of the number entered by the user.…
Input Checker in Java
Input Checker in Java It is a java program that will check in the character or string that you have input or entered matches to the criteria set in the program. If a match is found the program will display…