학교 과제이기는 한데요
교수님이 수업을 제대로 안하셔서 ㅠㅠ
각설하고 제 실력도 한 없이 부족해서 그런데
문제 하나 띄워드릴테니
제가 짠 것에서 무엇이 잘 못 되었는지 좀 부탁드릴께요.
-----------------------------------------------------------------------------------
public class ConcertPromoter {
public int totalTicketsSold, remainingTickets, theNumberOfSoldPhone, theNumberOfSoldVenue;
public int theNumberOfVenue = 15000;
public int chooseTicketsAmount;
public void basicInformation(){
System.out.println("--------------------------------------------");
System.out.println(" Rock Concert ");
System.out.println(" The name of band : MUZE ");
System.out.println(" 15000 seats ");
System.out.println("The number of tickets sold by Phone : " +theNumberOfSoldPhone);
System.out.println("The number of tickets sold at the concertVenue : " +theNumberOfSoldVenue);
System.out.println("The price of a ticket sold by phone : $70");
System.out.println("The price of a ticket sold at the concert venue : $80");
System.out.println("The total sales amount : " +totalTicketsSold);
}
public void recordSaleTickets(){
}
public void changeToPhonetoVenue(){
}
public int getTicketsSold(int newtheNumberOfSoldPhone, int newtheNumberOfSoldVenue){
return newtheNumberOfSoldPhone, newtheNumberOfSoldVenue;
}
public int getTicketsRemaining(){
return remainingTickets;
}
public int totalSales(){
return totalTicketsSold;
}
}
-----------------------------------------------------------------------------------
진짜 대충 짰는데 진짜 잘 모르겠네요. getTicketsSold 이것도 계속 리턴 2개하는 건데 잘 모르겠고.
하이튼 고수님들의 도움을 부탁드려요. ㅠㅠ