![lizzyhearts](/avatars/23178.jpg)
lizzyhearts
25.10.2019 •
Computers and Technology
Import java.util.scanner;
public class rental
{
private double total;
public void settotal()
{
system.out.println("rental total set");
}
public static void main(string[] args)
{
scanner sc = new scanner(system.in);
system.out.print("enter rental type: \n"
+ "'c' for canoe rental\n"
+ "'j' for jet ski rental\n");
string rentaltype = sc.next();
rental rental = new rental();
if (rentaltype.equalsignorecase("c"))
rental = new canoerental();
else if (rentaltype.equalsignorecase("j"))
rental = new jetskirental();
rental.settotal();
}
}
Solved
Show answers
More tips
- S Style and Beauty Secrets of Tying a Pareo: 5 Ways...
- F Food and Cooking 10 Reasons Why You Should Avoid Giving Re-Gifts: An Informative Guide...
- S Sport How to wrap boxing hand wraps? Everything you need to know!...
- A Animals and plants 5 Tips for Taking Care of Yews to Keep Them Green and Beautiful...
- H Health and Medicine How to Calm Your Nerves? Expert Tips That Actually Work...
- O Other What is a Disk Emulsifier and How Does it Work?...
- S Sport How to Pump Your Chest Muscle? Secrets of Training...
- C Computers and Internet How to Get Rid of 3pic Infector: Everything You Need to Know...
- S Style and Beauty How to Grow Hair Faster: Real Methods and Advice...
- C Computers and Internet How to Top Up Your Skype Account Without Losing Money?...
Answers on questions: Computers and Technology
- M Mathematics Aunit of electricity costs 13.2 pence. on average, tanya uses 90 units of electricity per week. she pays for her bill in 12 weeks. how much will her electricity bill...
- H History Which was most likely reason for the 13 colonies embracing a declaration of independence...
- H Health i think she is a proud mother, the foal is doing fine same with her mother im so happy they are doing ok and if you guys want me to take a pic of the father or see...
- E English Which sentence or sentences best indicate the beginning of the rising action? a. whenever it fell upon me, my blood ran cold; and so by degrees – very gradually –...
Ответ:
the answer is a.they rely on airwaves for broadcasting
Explanation:
i just took this test on/p>