Im trying to compile a simple program in BlueJ 2.01 and I get this error: cannot resolve symbol - class Scanner
//Program:
import java.util.Scanner;
import java.text.NumberFormat;
public class Deli
{
public static void main (String[] args)
{
final double OUNCES_PER_POUND = 16.0;
double pricePerPound;
double weightOunces;
double weight;
double totalPrice;
Scanner scan = new Scanner(System.in);
and so on...
Am I missing a library package?
//Program:
import java.util.Scanner;
import java.text.NumberFormat;
public class Deli
{
public static void main (String[] args)
{
final double OUNCES_PER_POUND = 16.0;
double pricePerPound;
double weightOunces;
double weight;
double totalPrice;
Scanner scan = new Scanner(System.in);
and so on...
Am I missing a library package?