1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ivan
3 years ago
6

1.6.6 Night out for codehs

Computers and Technology
1 answer:
Yuliya22 [10]3 years ago
5 0

Answer:

import java.util.*;

public class NightOut

{

   public static void main(String[] args)

   {

       Scanner input = new Scanner(System.in);

       double cost;

       double cost2;

       double cost3;

       double grandtotal;

       

       System.out.println("How much did dinner cost?");

       cost = input.nextDouble();

       

       System.out.println("How much is mini-golf for one person?");

       cost2 = input.nextDouble();

       

       System.out.println("How much did dessert cost?");

       cost3 = input.nextDouble();

       

       grandtotal = cost + cost2 * 2 + cost3;

       

       System.out.println("Dinner: " + cost);

       System.out.println("mini-golf: " + cost2);

       System.out.println("Dessert: " + cost3);

       System.out.println("Grand Total: " + grandtotal);

   }

}

Explanation:

You might be interested in
I live in Pennsylvania which observes eastern standard time.
goldfiish [28.3K]

Answer:

mudar o horário de acordo com a vista

Explanation:

4 0
2 years ago
. prevalence of coronary artery disease in patients with isolated aortic valve stenosis. br heart j. 1984;51:121–4.
Sergio [31]

The study on the prevalence of coronary artery disease in patients with isolated aortic valve stenosis is given below.

<h3>What was the study about?</h3>

The prevalence of a High amount coronary artery disease (that is the lowering in luminal diameter by about  50%) is one that is seen in a lot of people such as about 88 consecutive patients and it is one where they have aortic stenosis that needs aortic valve replacement.

The study shows that the risk factors associated with coronary disease were said to be equally distributed in all of the patients with and without a good amount of luminal obstruction.

Therefore, one can say that the study on the prevalence of coronary artery disease in patients with isolated aortic valve stenosis is well done.

Learn more about coronary artery disease from

brainly.com/question/1347334

#SPJ4

5 0
2 years ago
How to turn off windows 10 without loosing sound?
lbvjy [14]

Answer:

lower brightness works on chrome

Explanation:

8 0
3 years ago
You have a Bluetooth headset that integrates with your computer so that you can talk to partners through Microsoft Lync. This is
otez555 [7]
I believe this is an example of a Wireless Personal Area Network (WPAN). This type of network provides a low range wireless network that can interconnect devices near each other. So, Bluetooth devices such as a Bluetooth headset would be an example of WPAN.
5 0
3 years ago
Read 2 more answers
What is gained by increasing the ritation speed of a disk or cd?​
ludmilkaskok [199]

Answer:

it increases the transfer rate and decreases average access time of burning.

8 0
3 years ago
Other questions:
  • In procedural programming, where does the flow of control usually route from the main function?
    8·1 answer
  • write a method that will return a person's age entered by keyboard. You will need to include at least one instance variable in t
    11·1 answer
  • For each of these statements find a domain for which the statement is true and a domain for which the statement is false. a) Eve
    13·1 answer
  • . Some countries lack physical resources, like computers or network connections, making it difficult to keep up with the technol
    8·2 answers
  • How do you change colors for presentation to blue warm in power point?
    11·1 answer
  • The blank provides access to the internet May also be internal ??
    14·1 answer
  • Why are computers useful for modeling situations?
    13·2 answers
  • Vegetable farming is a good source of income explain this statement<br>​
    5·1 answer
  • Describe advantages and disadvantages for microprocessor controlled devices in the household.
    7·1 answer
  • Another way to create a new presentation is from the Home tab
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!