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
Technologies designed to replace operating systems and services when they fail are called what?
Pie

Answer:

Bare metal recovery.

Explanation:

Technologies designed to replace operating systems and services when they fail are called bare metal recovery.

Basically, it is a software application or program which is primarily designed to enable users to reboot the affected system and services that have failed, usually from a removable media, CD-Rom using an image file of the operating system backup.

4 0
4 years ago
What is meant by polling mode in communication between software andUART and what is its disadvantage as compared to interrupt mo
g100num [7]

Answer and Explanation:

POLLING MODE: In polling mode in communication process the processor     continually check UART port for data instead of UART port signaling the process through an interrupt when data is ready as is done in interrupt mode.

 THE DISADVANTAGES AS COMPARED TO THE INTERRUPT MODE :

the disadvantages in polling mode is that the processor wastes time in checking the UART continually while in interrupt mode it is  doing useful task

until the UART interrupt this  

3 0
3 years ago
Help? Can you explain what this mean?
Pani-rosa [81]

Death by PowerPoint simply refers to a phenomenon that's caused as a result of the poor use of a presentation software.

It should be noted that the phrase was coined by Angela Garber. It simply means when an individual uses the presentation software poorly.

The main contributors to death by PowerPoint include confusing graphics, slides that had too much text, etc. It's important to present one's work logically with good information.

Learn more about PowerPoint on:

brainly.com/question/25795152

3 0
2 years ago
A new product was introduced in 2003, which functions as both an identification device and a medium of communication. It uses in
Svetllana [295]

Answer:

nTag

Explanation:

nTag describe -Providing information on freight limitations-Preparing documentation-Packing exhibit materials-Helping to ensure that shipments arrive on time.

5 0
4 years ago
Which function would you use to make sure all names are prepared for a mailing label? TODAY UPPER PROPER LOWER
Aleonysh [2.5K]

Answer:

Proper.

Explanation:

5 0
2 years ago
Other questions:
  • You are able to change the formatting of a table after it is inserted into a placeholder. True or false
    9·2 answers
  • Web design people please help!
    7·1 answer
  • How did tafts accomplishments regarding conservation and trust-busting compare to roosevelt?
    11·1 answer
  • How is a computer component, such as a network card, commonly marked for identification?
    12·1 answer
  • In C, how could I use a command line input to remove certain characters from an existing string? For example, if I have string '
    8·1 answer
  • Devices which are used to receive data from central processing unit are classified as
    11·1 answer
  • What are screenshots helpful for ?
    6·2 answers
  • HELP ME PLEASE ASAP
    6·1 answer
  • The code on the side is a software solution to the mutual exclusion problem for two processes. It shares two variables:
    11·1 answer
  • Create a program that prompts the user for a positive integer then prints a right-aligned pyramid using that number using the st
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!