class Theatre
{
int ticketprice=820;
public static void main(String[] args)
{
Theatre pvr =new Theatre();
pvr.bookticket(3);
}
public void bookticket(int count)
{
int total=ticketprice/count;
System.out.println(total);
}
}
Top comments (0)