Answer:
If you are using Python,
```count = 0
for i in range(0, 79):
a = int(input("Input a number: "))
if 100 <= a <= 1000:
if a > 500:
count += 1
else:
print("Please input a number between 100 and 1000!")
i -= 1
print(count)```
Explanation:
count refers to the number of 500s and above,
the for loop is required for the program to loop 80 times,
a is the input collected,
the nested if is to check whether the number is above 500 and the if is used to check if the number is between 100 and 1000 if not, it will output that you need to input a number between 100 and 1000,
the i-=1 is required to make sure that part wasn't counted.
and the last print is to output the number of numbers above 500
A 2d array (i.e. 2 dimensional array) represents its elements in rows and columns
<h3>The program in Java</h3>
The method in Java, where comments are used to explain each line is as follows
//This defines the method
public static int diagSum(int[][] myArray) {
//This initializes sum to 0
int sum = 0;
//This iterates through each row of the array
for (int i = 0; i < myArray.length; i++) {
//This calculates the sum of the diagonals
sum+=myArray[i][i];
}
//This returns the sum
return sum;
}
Read more about methods at:
brainly.com/question/15969952
<span>1. Deleting files accidentally
</span>
2. Viruses and damaging malware
3. Mechanical damages of hard drive
4. Power failures
5. Theft of computer
6. Spilling coffee, and other water damages
7. Fire accidents and explosions
<span>Hope this helps.</span>
Answer:
GHRUDIFDSFHEOUSDHFHESDHFHEFE
Explanation:
SORRY I DONT KNOW
The correct option to this question is class interface.
The class interface is the portion of a class that is visible to the application’s programmer. Class interfaces mean implementation of public methods of the class. These class interfaces of the class are easily visible to the application’s program either the one who is developing the application program or the one who is reading the application’s code.
Class interface can be seen by the other classes as its public face. Class interfaces separate the class’s implementation and its interaction with other classes. That way the implementation of the class can be modified easily without being known by other classes. Basically, the programmer who is developing the program, all the portions of the programm is visible to that programmer.
For example, the class is written below:
class class-name
{
private members;
public method()
{
//method defination
}
}
when the class object is created, the code of the object to the programmer is visible.
<u>While the other options are incorrect:</u>
- Form: the form is used to collect information from the user. It can be build using front-end development tools
- Design: Design is a term used in computer or software engineering to make something from scratch or beginning. It can be methodologies, standards, or techniques etc.
- Control: Control is the mechanism or a term used in software development to control the program or execution of the program.
You can learn more about class interface at
brainly.com/question/13089781
#SPJ4
The complete question is found while searching over internet:
"
<em>The class ________ is the portion of a class that is visible to the application's programmer.</em>
- <em>Interface</em>
- <em>Form</em>
- <em>Design</em>
- <em>Control </em>
"