![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 13.06.2021 09:50, Camill0310
Write a program that accepts each element in the array from the user, and finds the following:
a. The minimum number in the array
b. The maximum number in the array
c. Average of all values in the array
d. Sum of the numbers present from index [2] to index [7]
e. Identify how many times β5β was found in the array.
f. Identify all the odd numbers in the array
g. Sum of all odd numbers in the array
h. Identify even numbers in the array
i. Sum of all even numbers in the array
j. Identify count of even numbers and odd numbers in the array.
k. Identify numbers which are divisible by 2 and 5.
![answer](/tpl/images/cats/otvet.png)
Answers: 3
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 10:00, serenityharmon1
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 17:30, Annlee23
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2Δβ, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5Δβ slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
Do you know the correct answer?
Write a program that accepts each element in the array from the user, and finds the following:
a. T...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.03.2021 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.03.2021 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.03.2021 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.03.2021 21:00
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mkx.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.03.2021 21:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.03.2021 21:00