public class Ticket
{
public static void main(String[]args)
{
int ticketprice=120;
int numberoftickets=3;
int totalprice=ticketprice * numberoftickets;
System.out.println(360);
}
}
Output#
Top comments (0)
Subscribe
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)