The problem is because you're code is using integer math, not floating point math. Try:
import java.util.Scanner;
import java.util.Random;
public class tempature
{
public static void...
Type: Posts; User: helloworld922
The problem is because you're code is using integer math, not floating point math. Try:
import java.util.Scanner;
import java.util.Random;
public class tempature
{
public static void...