Answer:
int a[10] = {10,20,30,40,50,60,70,80,90,100};
Explanation:
In the above statement, we declare the integer data type array variable that is 'a' then, pass its index value that is 10 which means it contains only 10 values and initialize the components of the array variable that is starting with 10 and end at 100 in the difference of 10. So, the following declaration is correct according to the statement.
Answer:
harris_poll_ranking = int(input("Enter team's Harris Poll ranking [1 - 2,850]: "))
coaches_poll_ranking = int(input("Enter team's Coaches Poll ranking [1 - 1,475]: "))
computer_ranking = float(input("Enter team's computer ranking [0 - 1]: "))
harris_poll_score = harris_poll_ranking / 2850
coaches_poll_score = coaches_poll_ranking / 1475
bcs_score = harris_poll_score / 3 + coaches_poll_score / 3 + computer_ranking / 3
print(bcs_score)
Explanation:
*The code is in Python.
Ask the user to enter the harris_poll_ranking as int, coaches_poll_ranking as int and computer_ranking as float
Calculate the harris_poll_score, divide the harris_poll_ranking by 2850
Calculate the coaches_poll_score, divide the coaches_poll_ranking by 1475
Calculate the bcs_score, harris_poll_score, coaches_poll_score and computer_ranking by 3 and sum them
Print the bcs_score
Answer:
I hope this answer is correct
Explanation:
Internal registers include the instruction register (IR), memory buffer register (MBR), memory data register (MDR), and memory address register (MAR). The instruction register fetches instructions from the program counter (PC) and holds each instruction as it is executed by the processor.