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
igor_vitrenko [27]
3 years ago
12

Write a program that asks the user to type 5 integers

Computers and Technology
1 answer:
AnnZ [28]3 years ago
5 0

import Java.util*

public class Average{
public static void main(String [] args){

int sum = 0;
int numbers = 0;

for(int i = 0; i < 5; i++){
Scanner sc = new Scanner(System.in);
System.out.println(“Please enter your integers: “);
numbers = sc.nextInt();

sum += numbers;
}
System.out.println(“The average is: “ + sum/5)”
}
}
You might be interested in
Random integer between 3 and 13 (inclusive)
garri49 [273]

Answer:

6

Explanation:

5 0
3 years ago
Read 2 more answers
What output will the look up formula below produce in relation to the following table?
noname [10]

Answer:

The VLookup checks a value inside a table through matching over the 1st column.

Lookup a value in a table by matching on the first column and the matched value is returned from the table.

Explanation:

The formula for the VLOOKUP is

=VLOOKUP (value to be matched in the first column, table from which the value will be looked for, col_index is the column inside the table from where the value is fetched, [range_lookup] is true for the approximate match, and false for exact match)

5 0
3 years ago
Daniel would like to send a letter to more than one hundred people. He should type each letter separately.
emmainna [20.7K]
False is the answer to your question
7 0
3 years ago
Read 2 more answers
_____ is(are) often used in reports to quickly represent data and help the readers understand the data.
Ira Lisetskai [31]
Tables are used<span> to </span>present <span>numerical </span>data<span> in a wide variety of publications from newspapers, journals and textbooks to the sides of grocery packets.</span>
6 0
3 years ago
We may think of relationships in the E/R model as having keys, just as entity sets do. Let R be a relationship among the entity
BaLLatris [955]

Explanation:

1

R is many - many;

in this case we have that E1 is not what should be used to determine E2 and in this same way, W2 is not what should determine E1. So non of these can be a key on its own.

2.

R is many-one from E1 to E2

in this case there are 2 tuples (f1,f2) and (e1,e2) which have to be the same if they have the same key attribute for E1. All of them are the same so all the pairs are the same.

3.

R is many-one from E2 to E1:

the explanation for this is is almost the same with that of b. we apply the same logic. since for all keys, all pairs and sets are the same.

4.

R is one-one:

E1 is what determines E2 and likewise, E2 is what determines E1. irrespective of the key that is used, key K is going to the same value of n.

8 0
4 years ago
Other questions:
  • List 3 characteristics of the ideal encryption scheme
    6·2 answers
  • What term is used for a seemingly harmless program that has malicious code hidden inside?
    9·1 answer
  • This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by
    8·1 answer
  • Advantages of heading attributes
    5·1 answer
  • A type of VPN connection, where a single computer logs into a remote network and becomes, for all intents and purposes, a member
    13·1 answer
  • Tyra used the software development life cycle to create a new game. After debugging and documenting code, she released it to her
    10·1 answer
  • One can find mountain ranges, elevation levels, and deserts on a physical map.
    15·2 answers
  • Discuss how the use of digital formats for audio-visual recording and editing has
    8·1 answer
  • 8.1 edhesive answer please
    10·1 answer
  • What are 3 customizations that can be done using the header/footer section in the customize reports tray?.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!