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
It’s a making sections about what algorithms to use
Answer:
String chessboard[][]=new String[6][6];
Explanation:
This is the declaration of a string 2-D array in java.
String is the data type of the variable.
chessboard is the name of the variable.
6 is the size of the 2-D array.
new is the keyword for allocating space to array.
Answer:
i need more \\
Explanation:
Chemical cold packs should be used for bone and joint injuries because they are generally colder than ice and stay cold longer.
A.
True
B.
False
Reset