Simplification: having a gate or door, it can only open if you have the right key, the keys are == != <= >= < >, once the gate open you can get your work done. Having the gate open gives you a really neat power of calling the gate on its self? what your … [Read more...] about Idea conditionals and recursion? explained to a 5 year old
Programming
Have you ever wanted to convert Fahrenheit to Celsius in java? Now you can!
package temperature.conversions; import java.util.Scanner; public class TemperatureConversions { public static void main(String[] args) { double Selection; Scanner input = new Scanner(System.in); // create a … [Read more...] about Have you ever wanted to convert Fahrenheit to Celsius in java? Now you can!
Have you ever wanted to see if a number really is even or odd?
import java.util.Scanner; public class EvenOrOdd { public static void main (String []args) { int EvenOrOdd = 0; // set EvenOrOdd to zero Scanner input = new Scanner(System.in); // create a new object scanner … [Read more...] about Have you ever wanted to see if a number really is even or odd?
Have you ever wanted to code exponents in java? now you can!
import java.util.Scanner; public class Exponents { public static void main (String []args) { int base = 0; int exponent = 0; Scanner input = new Scanner(System.in); System.out.println("Please enter a base: "); base = … [Read more...] about Have you ever wanted to code exponents in java? now you can!
What is method overloading in java?
Method overloading, allows you to define multiple methods with the same name allowing you to to define multiple methods with the same name as long as each of the methods has a different signature. So that brings up the question of what is a signature? its the … [Read more...] about What is method overloading in java?
how to get to know shapes in java?
Simple Two step processes Step one: Create a method (work that gets done) Step two: Show of your fabulous work (Call your new method ) … [Read more...] about how to get to know shapes in java?
Revised Java Coin program
import java.util.Scanner; //imports Scanner util public class MinimumCoins { public static void main(String[] args) { Scanner input = new Scanner(System.in); //creates an instance of a class called input // sets inintial … [Read more...] about Revised Java Coin program
Java Minimum Coins Program, How to maximise your change skills?
import java.util.Scanner; //imports Scanner util public class MinimumCoins { public static void main(String[] args) { Scanner input = new Scanner(System.in); //creates an instance of a class called input // sets inintial … [Read more...] about Java Minimum Coins Program, How to maximise your change skills?
Ever wanted to know the logic behind hello world program in java?
package cutnpaste; //package name public class HelloWorld { public static void main(String[] args) { //initalization int age; String Message = "What is Your Name"; String GiveAge = "Enter your age: "; … [Read more...] about Ever wanted to know the logic behind hello world program in java?
Looking deeper into methods!
import java.util.Scanner; public class MaximumFinder { public void findMaximun() { Scanner input = new Scanner (System.in); System.out.print( "Enter three floating poing values sepertated by spaced: "); double number1 = … [Read more...] about Looking deeper into methods!