Hey, Hey, lol Welcome to the Java Programming Forums.

Like Chris says, this is an easy one! Check the Math API

Math (Java 2 Platform SE 5.0)



import java.util.Scanner;