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
alexdok [17]
3 years ago
8

Given the following code fragment and the input value of 4.0, what output is generated?

Computers and Technology
1 answer:
kicyunya [14]3 years ago
4 0

Answer:

c) 4.4

Explanation:

You can evaluate step by step the code. You know tha your input is 4.0

Step 1 Variables definitions:

double tax;

double total;

Step 2 Ask the user for the input:

System.out.print("Enter the cost of the item");

Step 3 read de input:

total = scan.nextDouble();

Step 4 evaluate the condition (  is the input greater or equal  than 3.0 ? [True])

if ( total >= 3.0)

Step 5 get done the operations inside the condition and print it:

tax = 0.10;

System.out.println(total + (total * tax));

You might be interested in
Decribe the advantages of using emails compared with physical faxing ?
fredd [130]

Answer:

email is SO much faster

Explanation:

6 0
3 years ago
Amy would like to find all records that were delivered on August 8, 2008. Her database has a field that tracks when the items we
denpristay [2]
Conduct a query and set the criteria as = August 8, 2008. I'm not sure if this is the right answer, but that's what I think it is.
7 0
3 years ago
Read 2 more answers
After successful unit testing, the subsystems are combined to test the entire system as a complete entity using what form of tes
Maurinko [17]

Answer:

integration testing

Explanation:

Integration testing -

It is one of the level of testing a software , in which the individual units are tested and combined as a group , is referred to as integration testing.

This method is employed in order to highlight any faults in between the integrated units .  

Hence , from the given information of the question,

The correct term is integration testing.

8 0
3 years ago
Which sentence best describes a story's rising action?
MAXImum [283]

Answer:

So first off I’m pretty sure you meant ELA class, but I will still answer the question for you. The sentence that best describes a stories rising action is when it describes the conflicts that lead to the climax of the story. The climax is the main point in a story, and usually towards the middle. (Even though this can vary in book series)

Explanation:

Rising action takes place in a book right before the climax, the main point. This really matter because they have to work it up to the climax. Think of it like a graph. The line won’t just shoot up, it will gradually go up, then gradually go down.

Hope this helped!!

6 0
2 years ago
22 POINTS IF YOU GET THIS RIGHTTTT<br><br> KACHOW!! Is a catchphrase used by?
dexar [7]
Lightning McQueen in the Disney movie, Cars

KACHOW
5 0
2 years ago
Read 2 more answers
Other questions:
  • In procedural programming, where does the flow of control usually route from the main function?
    8·1 answer
  • Which of the following would an A/V technician NOT typically do? (Select all that apply).
    14·1 answer
  • What are the first two lines of defense a company should take when addressing security risks?
    10·1 answer
  • Consider the following code segment.
    15·1 answer
  • 50 POINTS &amp; A FOLLOW!
    11·2 answers
  • Is it possible for a PowerPoint user to add notes to slides and see the added comments
    10·1 answer
  • Which of the following tools enables a production mixer to sync audio and video?
    7·1 answer
  • Write a Python program to find whether a given number (accept from the user) is positive
    11·1 answer
  • The sequence of instructions performed to execute one program instruction
    12·1 answer
  • What is closeable interface in java.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!