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
iVinArrow [24]
4 years ago
13

Before entering a loop to compute a running total, the program should first do this

Computers and Technology
1 answer:
Slav-nsk [51]4 years ago
8 0
Initialize it's variable:

double total = 0.0
while( whatever )
You might be interested in
Write a program that reads an arbitrary number of integer that are in the range 0 - 50 inclusive and counts how many occurrences
Anna [14]

Answer:

Check the explanation

Explanation:

import java.util.Scanner;

public class Count

{

   public static void main(String[] args)

   {

       // creating array of store to store count of

       //every integer entered

       int[] store = new int[51];

       System.out.println("Enter any integers between"+

       " 0 and 50, and if you are done then enter any"+

       " integer out of the range");

       System.out.println("Enter Integer: ");

       //taking input of first integer

       Scanner scan = new Scanner(System.in);

       int integer = scan.nextInt();

       //looping for integers entered in range

       //to count its occurance

       while(integer >= 0 && integer <= 51)

       {

           //adding count to 'store' array of that

           //particular array of value entered

           store[integer] = store[integer] + 1;

           System.out.println("Enter Integer: ");

           integer = scan.nextInt();

       }

       //printing number of times each integer is entered

       System.out.println("printing number of times"+

           " each integer is entered");

       for (int i=0; i < 51; i++)

       {  

           if (store[i] > 0)

               System.out.println(i + ": " + store[i]);

       }

   }

}

Kindly check the result below

7 0
3 years ago
Cloud computing service providers manage different computing resources based on the services they offer. Which resources do IaaS
Stels [109]

Answer:

IaaS providers do not manage the Operating System for the client.

Wheareas PaaS providers usually do not manage the  Applications for their clients.

Explanation:

IaaS is short form of infrastructure as a Service. It provides resources like networking, storage and servers. It does not provide the services of software like operating systems.

PaaS is short form of Platform as a Service. It provides platforms like storage and networking except applications.

7 0
3 years ago
Which steps will complete adding the cells A45 to A55?
PSYCHO15rus [73]
I am not quiteof a techno genius but the TAB key might work.
Please comment if you would like further help
8 0
4 years ago
Select the examples that best demonstrate likely employers for Journalism and Broadcasting workers. Check all that apply.
Delicious77 [7]

Answer:

a radio station

a newspaper

a television network

Explanation:

4 0
3 years ago
Read 2 more answers
By what date must federal taxes typically be filed and sent to the IRS?
marishachu [46]
April 15th of each annual year
6 0
4 years ago
Other questions:
  • The rubric given to them by their teacher requires that
    14·1 answer
  • 2. To learn the proper way to set up a table of contents, editors can use a A. style manual. B. dictionary. C. grammar checker.
    15·1 answer
  • What is the exact number of bits in a memory that contains (a) 128k bits?
    9·1 answer
  • Which of the following do you need to remeber about true/false questions?
    12·1 answer
  • Describe a hybird electrical vehical
    12·1 answer
  • JPG is considered a lossy file format. What does this mean?
    15·2 answers
  • You have recently subscribed to an online data analytics magazine. You really enjoyed an article and want to share it in the dis
    9·1 answer
  • What method do phishing and spoofing scammers use
    12·1 answer
  • Match the title of the work of fiction to the description given.
    8·1 answer
  • Write a function that simulates the roll of a six-sided dice. The name of the function is rollDice. The function accepts no para
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!