 |
|
|
Posts: 17,781
Country:
Star Sign:
Join Date: Jul 2010
Location: ▌║█║▌│█│║▌║
Gender:
|
|
|
Calculator Using if Statement In Java
The if statement Is Used To Execute Or Ignore A Set Of Statements After Testing A Give Condition.
If The Given Condition Is True The Following Statement Will Be Executed Otherwise Will Be Ignored
And The Control Will Transfer To The Next Statement.
Syntax
if(condition)
{
Statement;
}
Example

Output
Addition

Subtraction

Multiplication

Division

➳ bE driveN wiTh puRpOse, Be r313n71355 in your alιgnмenт;
with excellence.
pAy n0 mInd to the ∂ιsιмραssισηε∂ เ๓ק๏tєภt ђคtєгร ♬
☣.. нoolιgan ☠
|