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
Elanso [62]
3 years ago
13

Yo who do u add a pic on here

Computers and Technology
1 answer:
Juliette [100K]3 years ago
8 0
Go to the me colum when you first open the app
You might be interested in
5.11 LAB: Print string in reverse [JAVA]:
ss7ja [257]

Answer:

This article discusses different ways to reverse a string in Java with examples.

8 0
2 years ago
Write a for loop to print all elements in courseGrades, following each element with a space (including the last). Print forwards
konstantin123 [22]

Answer:

for(i = 0 ; i < NUM_VALS; ++i)

{

   cout << courseGrades[i] << " ";

}

cout << endl;

for(i = NUM_VALS-1 ; i >=0 ; --i)

{

   cout << courseGrades[i] << " ";

}

cout << endl;

Explanation:

The first loop initializes i with 0, because we have to print the elements in order in which the appear in the array. We print each element, adding a space (" ") character at its end. After the loop ends, we add a new line using endl.

The second loop will print the values in a reverse order, so we initialize it from NUM_VALS-1, (since NUM_VALS = 4, and array indices are 0,1,2,3). We execute the loop till i >= 0, and we print the space character and new line in a similar way we executed in loop1.

4 0
3 years ago
SummaryIn this lab, you complete a partially prewritten Java program that uses an array.The program prompts the user to interact
Andrej [43]

Answer:

The complete program is as follows:

import java.util.Scanner;

public class Main{

   public static void main(String args[]){

       Scanner s = new Scanner(System.in);

       final int lent = 8;

       Double averages[] = new Double[lent];

       int loopIndex;

       double battingAverage;

       String averageString;

       double min, max;

       double total, average;

       for(loopIndex = 0;loopIndex<lent;loopIndex++){

       System.out.print("Enter a batting average: ");

       averageString = s.nextLine();

       battingAverage = Double.parseDouble(averageString);

       averages[loopIndex] = battingAverage;        }

       min = averages[0];max = averages[0];

       total = averages[0];

       for(loopIndex = 1;loopIndex<lent;loopIndex++){

       if(averages[loopIndex]>=max){

           max = averages[loopIndex];        }

       if(averages[loopIndex]<=min){

           min = averages[loopIndex];        }

       total+=averages[loopIndex];        }

       battingAverage = total/8;

       for(loopIndex = 0;loopIndex<lent;loopIndex++){

       System.out.println(averages[loopIndex]+" ");        }

       System.out.println("Average: "+battingAverage);

       System.out.println("Minimum: "+min);

       System.out.println("Maximum: "+max);

       System.exit(0);

       }}

Explanation:

See attachment for complete program with comments

Download txt
8 0
3 years ago
Your mother is sure that you were driving too fast because she knows
Klio2033 [76]

I think the corret answer would be C

5 0
3 years ago
Read 2 more answers
Which statement about routers is !!!FALSE!!!
monitta

Answer:

b. they are located at the intersections of the network of wires and cables that make up the internet.

Explanation:

Given that Router is a computer networking device that operates by transferring data packets between computer networks, while also ensuring traffic organizing tasks on the Internet.

Hence, Routers put packets in the right order after they arrive at their destination by matching the destination IP address of the packet and one of the addresses in the routing table.

Also, Routers check the address on each packet that arrives and decide which way it should go next​ by ensuring the data packets are summarized for the outgoing interface recorded in the table entry.

Therefore, the correct answer is option B

8 0
3 years ago
Other questions:
  • A(n) ____ is a collection of one or more program statements combined to perform some action
    14·1 answer
  • In a cellular network, where does each wireless base station connect to?
    9·1 answer
  • An inventory management system that goes beyond just managing inventory to act as a complete distribution system (including inve
    10·1 answer
  • To find if the Library owns the item listed below using Quick SearchLinks to an external site., what would you type in the searc
    9·1 answer
  • Type the correct answer in the box. Spell the word correctly. Which framework can be used to develop cross-platform applications
    15·2 answers
  • A laptop computer communicates with a router wirelessly, by means of radio signals. the router is connected by cable directly to
    10·1 answer
  • Lets computer know what to do when it starts up...
    9·1 answer
  • When considering the best technology for its particular use, what should a business consider
    15·2 answers
  • What is considered an important ethical consideration when working with families
    13·1 answer
  • A ________ implementation involves considerable modifications to the erp software
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!