Android -double, systemOUT, scanner(UserInput)

double \\dealing with no. , with dp as well
exp: double tuna;
tuna = 5.28

System.out.println(); \\print the final word, any other thing after that will be next line
System.out.print()

import java.util.Scanner; \\import so you can use the function
Scanner bucky(name it) = new Scanner(System.in) \\ bucky = system.in
double (name variable);

No comments:

Post a Comment