Varanasi-Software-Junction / JavaCodecamp

Java code repository of Varanasi Software Junction. Its public and free for use. Please star if you find it useful
MIT License
11 stars 5 forks source link

Basic IO #1

Open champaksworldcreate opened 3 years ago

champaksworldcreate commented 3 years ago

Use J=java.util.Scanner to read int, float, double, boolean =, String = word and line.

Try simple maths. next() word read nextLine() line read nextInt() int nextFloat()' nextDouble() nextBoolean()

hasNext() checks for data availability,

*, /, +, -, %