public static void Main()
bool printerunrecognized;
string power = "- Check the power cable";
string checkcable = "- Check the printer-computer cable";
string software = "- Ensure printer software is installed";
string ink = "- Check/replace ink";
string paperjam = "Check for paper jam.";
Console.WriteLine("Is the printer not printing?");
arg1 = Console.ReadLine();
if (arg1.ToLower().Equals("yes")) {
printernotprinting = true;
printernotprinting = false;
Console.WriteLine("Does the printer have a red light flashing?");
arg2 = Console.ReadLine();
if (arg2.ToLower().Equals("yes")) {
redlightflashing = false;
Console.WriteLine("Is the printer unrecognized?");
arg3 = Console.ReadLine();
if (arg3.ToLower().Equals("yes")) {
printerunrecognized = true;
printerunrecognized = false;
if (printernotprinting && redlightflashing && printerunrecognized) {
Console.WriteLine(checkcable);
Console.WriteLine(software);
else if (printernotprinting && redlightflashing && !printerunrecognized) {
Console.WriteLine(paperjam);
else if (printernotprinting && !redlightflashing && printerunrecognized) {
Console.WriteLine(power);
Console.WriteLine(checkcable);
Console.WriteLine(software);
else if (printernotprinting && !redlightflashing && !printerunrecognized) {
Console.WriteLine(paperjam);
else if (!printernotprinting && redlightflashing && printerunrecognized) {
Console.WriteLine(software);
else if (!printernotprinting && redlightflashing && !printerunrecognized) {
else if (!printernotprinting && !redlightflashing && printerunrecognized) {
Console.WriteLine(software);