Java Tutorial EP2 - Simple Calculator!

Channel:
Subscribers:
65
Published on ● Video Link: https://www.youtube.com/watch?v=j08nz4wVAS4



Category:
Tutorial
Duration: 2:23
38 views
1


I show you how to implement integer variables, and make a simple calculator !
If your too lazy to type this out, here's the code:

public class Calculator {

public static void main(String[] args) {

int num1 = 10;

int num2 = 5;

int total = num1 + num2;

System.out.println("Your answer is: " + total);

}

}







Tags:
argaming
video game (industry)
programming language (software genre)
hello world program (software)
java (programming language)
minecraft
mod
spotlight
showcase
thediamondminecart
minecart
playthrough
yt:quality=high
1.6.4
dantdm
no swearing
no cursing
minecraft (video game)
1.7.10
1.8
dr trayaurus
trayaurus
grim
colosseum
minecraft challenge
challenge
minecraft mod showcase
one command block
custom mod adventure
custom command adventure
freddy
pizzeria
pizza