Day9 :Task2
AmalaReegan

AmalaReegan @reegan

Joined:
Nov 30, 2024

Day9 :Task2

Publish Date: Dec 16 '24
0 0

Input

public class Ticket
{
public static void main(String[]args)
{
int ticketprice=120;

int numberoftickets=3;

int totalprice=ticketprice * numberoftickets;

System.out.println(360);
}
}
Enter fullscreen mode Exit fullscreen mode

Output#

Image description

Comments 0 total

    Add comment