Something like this (not tested):
void printLarger(int a, int b)
{
cout << a >= b ? a : b;
}
Answer:
The code is given below with necessary comments for understanding
Explanation:
#Open the input file.
infile = open("numbers.txt", "r")
#Declare and initialize the required variable sum
#to store the sum of integers read from the file.
sum = 0
#Declare and intialize a variable to store the current
#number read from the file in the integer form.
curNum = 0
#Traverse the input file using for loop.
for curLine in infile:
#Assign the number read from the file to the
#variable curNum in the integr form.
curNum = int(curLine)
#Add the numbers read from the file to the
#variable sum to get the sum of all the
#numbers read from the file.
sum += curNum
# Display the value of the variable runsum.
print(sum)
<span> CD's need to be continuous, so they use a </span>Constant Linear Velocity (CLV)<span>. A 1x CD-ROM drive transfers data at 150 KB/sec. </span>