$24
Name:
Direction: Upload your typed solutions in a le named \assignment03.txt" to your Github account.
Explain Moore’s Law.
List and brie y de ne two of the techniques used in comtemporary processors to increase speed.
Write a C++ function that takes a ifstream reference as a parameter. Given that the ifstream paramater references a le consisting of positive integers, the function returns the geometric mean of the values in the le, which is
p
n
!
1=n
GM =
x1
: : : xn =xi
n
Yi
=1