Wednesday 2 March 2016

Prot From ORG To COM - Leave All Calculations For Nickzom

There is this unique web application online - http://www.nickzom.org that solves calculations and shows the steps for easy comprehension.

The good thing about this website is that you do not have to care whether what you want it to solve is already embedded in it or not.
Once you create an account and log in to the website all you have to do is check for what you want to be solved for you which can be anything. It must not be educational.

If it is not there, just contact the developer, Idoko Nicholas Chinazom and tell him what you want and it would be programmed for you and only you immediately.

Nickzom is building a base where anybody can just get answers and steps to any calculation problem he or she is facing within seconds.

All you have to do is register and start living life easy and smooth.

Visit
http://www.nickzom.org now

Thursday 5 November 2015

Java | Formatting Computer Console Output



There are situations where by you want to have just 4 decimal places or 2 decimal places whatever the case and 

you know quite fully well that making use of double in your computation cannot just give you a 2 decimal or 4 decimal places value.

There are two ways to trick the computer into giving you what you want.

Tuesday 3 November 2015

Java Selection | Switch


Switch is a reserved word or keyword that is used to make selections in Java just as IF... ELSE IF... ELSE.

The switch has a unique way of doing its things first. It has a default and an optional break statement.

Take a look at this chunk of code

Friday 30 October 2015

Java Selection | If, Else If and Else


There comes a stage in life when you have grown up and begun to make your own choices, do your own thing and select what you want and not what others want.

Yea!! That stage feels really good.
The same thing applies to Java programming Language and we are at that stage.

Before I move into Java selections properly I want to discuss a few things about logical  and relational operators.

Just as Java has arithmetic operators that makes computation possible Java also has logical and relational operators that makes decision making in programming a dream come true.

Examples of Relational operators are:

Java Programming Errors and Debugging


There is nobody on earth who has not made a mistake one way or the other.
In this same vein, there is no one who began programming from the bottom to the top without making errors here and there.

In Java programming there are three types of errors which are:

1.   Syntax Error
2.   Runtime Error
3.   Logical Error


Syntax Error is a type of error made by a programmer while writing the program. This error can be easily detected by the computer.

Numeric Type Conversion and Casting


I am really sorry for not publishing anything yesterday. I had some electrical problems that's why but I am here now and I am going to continue from where I stopped.

Thank you for accepting my apologies. lol

Today, I want to talk about numeric type conversion and casting in Java programming language.

I hope you still remember what I told you about datatypes. Please if you don't re-visit one of my previous posts to do.

Take for example you want to convert an integer to a double. How do you do that?

This is done by what we call CASTING.

Casting is the process of converting a value with a particular datatype to another datatype.
There are two types of casting which are:

Wednesday 28 October 2015

Java | Shorthand, Increment and Decrement Operators


There comes a time in Java programming when you want to carry out an operation on a variable and assign that operation to that same variable.

For example: