import java.util.Scanner;
public class Memo{
public static void main(String[] args){
System.out.println("***Welcome to the computer selector!***");
System.out.println();
System.out.println("***Answer various questions to find the perfect computer for you!***");
System.out.println();
System.out.println("~ Which brand of computer would you prefer?: ");
System.out.println(" - Dell");
System.out.println(" - HP");
System.out.println(" - Compaq");
System.out.println(" - Apple");
Scanner scan1 = new Scanner(System.in);
String system = scan1.nextLine();
if (system .equals("Dell")){
System.out.println("You have choosen Dell as your computer manufacturer!");
}
else if (system .equals("HP")){
System.out.println("You have choosen HP as your computer manufacturer!");
}
else if (system .equals("Compaq")){
System.out.println("You have choosen Compaq as your computer manufacturer!");
}
else if (system .equals("Apple")){
System.out.println("You have choosen Apple as your computer manufacturer!");
}
else{
System.out.println("This is not a valid option, please enter a valid option.");
}
System.out.println();
System.out.println("~ Select one of the options closest to your budget for your new computer: ");
System.out.println(" - $250");
System.out.println(" - $500");
System.out.println(" - $750");
System.out.println(" - $1,000");
System.out.println(" - $1,250");
System.out.println(" - $1,500");
System.out.println(" - $1,750");
System.out.println(" - $2,000");
System.out.println(" - $2,250");
System.out.println(" - $2,500");
System.out.println(" - $2,750");
System.out.println(" - $3,000");
String budget = scan1.nextLine();
if (budget .equals("$250")){
System.out.println("You have choosen $250 as your current budget for your new computer!");
}
else if (budget .equals("250")){
System.out.println("You have choosen $250 as your current budget for your new computer!");
}
else if (system .equals("$500")){
System.out.println("You have choosen $500 as your current budget for your new computer!");
}
else if (system .equals("500")){
System.out.println("You have choosen $500 as your current budget for your new computer!");
}
else if (system .equals("$750")){
System.out.println("You have choosen $750 as your current budget for your new computer!");
}
else if (system .equals("750")){
System.out.println("You have choosen $750 as your current budget for your new computer!");
}
else if (system .equals("$1,000")){
System.out.println("You have choosen $1,000 as your current budget for your new computer!");
}
else if (system .equals("1,000")){
System.out.println("You have choosen $1,000 as your current budget for your new computer!");
}
else if (system .equals("$1,250")){
System.out.println("You have choosen $1,250 as your current budget for your new computer!");
}
else if (system .equals("1,250")){
System.out.println("You have choosen $1,250 as your current budget for your new computer!");
}
else if (system .equals("$1,500")){
System.out.println("You have choosen $1,500 as your current budget for your new computer!");
}
else if (system .equals("1,500")){
System.out.println("You have choosen $1,500 as your current budget for your new computer!");
}
else if (system .equals("$1,750")){
System.out.println("You have choosen $1,750 as your current budget for your new computer!");
}
else if (system .equals("1,750")){
System.out.println("You have choosen $1,750 as your current budget for your new computer!");
}
else if (system .equals("$2,000")){
System.out.println("You have choosen $2,000 as your current budget for your new computer!");
}
else if (system .equals("2,000")){
System.out.println("You have choosen $2,000 as your current budget for your new computer!");
}
else if (system .equals("$2,250")){
System.out.println("You have choosen $2,250 as your current budget for your new computer!");
}
else if (system .equals("2,250")){
System.out.println("You have choosen $2,250 as your current budget for your new computer!");
}
else if (system .equals("$2,500")){
System.out.println("You have choosen $2,500 as your current budget for your new computer!");
}
else if (system .equals("2,500")){
System.out.println("You have choosen $2,500 as your current budget for your new computer!");
}
else if (system .equals("$2,750")){
System.out.println("You have choosen $2,750 as your current budget for your new computer!");
}
else if (system .equals("2,750")){
System.out.println("You have choosen $2,750 as your current budget for your new computer!");
}
else if (system .equals("$3,000")){
System.out.println("You have choosen $3,000 as your current budget for your new computer!");
}
else if (system .equals("3,000")){
System.out.println("You have choosen $3,000 as your current budget for your new computer!");
}
else{
System.out.println("This is not a valid option, please enter a valid option.");
}
}
|