Question: package edu.ilstu; import java.util.Scanner; / * * * * / public class RegaliaOrder { / * * * @param args * / public static void
package edu.ilstu;
import java.util.Scanner;
public class RegaliaOrder
@param args
public static void mainString args
TODO Autogenerated method stub
Scanner myScan new ScannerSystemin;
Double mPrice ;
Double bfPrice ;
Double mfPrice ;
Double customizationPrice ;
int regalia ;
String design ;
String customStuff ;
String keepShopping ;
String regaliaType ;
System.out.printWelcome Redbird Graduates"
;
System.out.printM Masters Hood:" mPrice
;
System.out.printBF Bachelors Cap,Gown, and Tassel:" bfPrice
;
System.out.printMF Bachelors Cap,Gown, amd Tassel: mfPrice
;
System.out.printEnter the Number of Graduation Regalia to Purchase: ;
regalia myScan.nextInt;
System.out.printlnWhat Type: ;
regaliaType myScan.next;
System.out.printlnWould you like a school Custom design?yn: ;
design myScan.next;
forint i ; i regalia; i
ifdesignequalsy
System.out.printlnWe provide the following at $ each:";
System.out.printlnA Custom Gown WSchool Custom Zipper Pull And Patch
B Custom Tassel WSchool Custom Charm";
System.out.printWhich Customization would you likeab;
customStuff myScan.next;
System.out.printWould you like to keep shoppingyn;
keepShopping myScan.next;
else
System.out.printPlease enter Shipping information ;
ifkeepShoppingequalsy
System.out.printEnter the Number of Graduation Regalia to Purchase: ;
regalia myScan.nextInt;
System.out.printlnWhat Type: ;
regaliaType myScan.next;
System.out.printlnWould you like a school Custom design?yn: ;
design myScan.next;
else
System.out.printPlease enter Shipping information ;
how do i make this work im trying to loop the statement depending on the users yn and ab answers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
