public static void Main()
Console.WriteLine("How many people are we making PB&J sandwiches for?");
int personCount = Convert.ToInt32(Console.ReadLine());
double totalSlicesNeeded = breadPerSammy * personCount;
var totalLoavesNeeded = Math.Ceiling(totalSlicesNeeded / slicesPerLoaf);
int tablespoonsPBPerSammy = 2;
int tablespoonsPBPerJar = 32;
double totalTbspPBNeeded = tablespoonsPBPerSammy * personCount;
var totalPBJarsNeeded = Math.Ceiling(totalTbspPBNeeded / tablespoonsPBPerJar);
int teaspoonsJellyPerSammy = 4;
int teaspoonsJellyPerJar = 48;
double totalTspJellyNeeded = teaspoonsJellyPerSammy * personCount;
var totalJellyJarsNeeded = Math.Ceiling(totalTspJellyNeeded / teaspoonsJellyPerJar);
Console.WriteLine("You need:");
Console.WriteLine("{0} slices of bread", totalSlicesNeeded);
Console.WriteLine("{0} tablespoons of peanut butter", totalTbspPBNeeded);
Console.WriteLine("{0} teaspoons of jelly", totalTspJellyNeeded);
Console.WriteLine("Which is...");
Console.WriteLine("{0} loaves of bread", totalLoavesNeeded);
Console.WriteLine("{0} jars of peanut butter", totalPBJarsNeeded);
Console.WriteLine("{0} jars of jelly", totalJellyJarsNeeded);
Console.WriteLine("Would you like to restart? Enter yes or y to continue, or enter any other key to exit.");
var userInput = Console.ReadLine().ToUpper();
if (userInput == "Y" || userInput == "YES")
Console.WriteLine("Goodbye!");