Application is running, I have two classes within the program but my second class keeps getting this error.
class SandwichBuild
{
private string sandwichname;
private double ingred1, ingred2, ingred3, ingred4;
public SandwichBuild(string input1, string input2, string input3, string input4, string input5) //sets variables
{
sandwichname = input1;
ingred1 = double.Parse(input2);
ingred2 = double.Parse(input3);
ingred3 = double.Parse(input4);
ingred4 = double.Parse(input5);
}
public void PrintOutput()
{
WriteLine(sandwichname + " " + ingred1 + " " + ingred2 + " " + ingred3 + " " + ingred4); //Output for users responses
}
}
I need my application to display final responses