hey im new to this forum and new to programming and i got an assignment for a sales ticket generator and i clicked compile and it said
variable burger might not have been initialized
please help....
import TerminalIO.KeyboardReader;
public class Resturant {
public static void main (String [] args) {
KeyboardReader reader = new KeyboardReader();
// Constants
final double BURGERS = 1.49;
final double FRIES = 0.89;
final double SODA = 0.99;
// Variables
double total;
double tax;
double totalT;
double burger ;
double frie;
double sodas;
// Input
System.out.print(" Burgers : " + burger );
burger = reader.readDouble();
System.out.print(" Fries : " );
frie = reader.readDouble();
}