In python:
i = 1
lst1 = ([])
lst2 = ([])
while i <= 5:
person1 = int(input("Enter the salary individual 1 got in year {}".format(i)))
person2 = int(input("Enter the salary individual 1 got in year {}".format(i)))
lst1.append(person1)
lst2.append(person2)
i += 1
if sum(lst1) > sum(lst2):
print("Individual 1 has the highest salary")
else:
print("Individual 2 has the highest salary")
This works correctly if the two individuals do not end up with the same salary overall.
Answer:
b)void aNonclassFunction (Banana co);
Explanation:
In the function definition you have to pass the tell the function which type of argument it is taking.In our case we are taking a variable co of Banana type passing it to the function named aNonclassFunction having no return type.
So the definition will be like this.
void aNonclassFunction (Banana co);
The other person is right
"flat file"
A simple database program whose records have no relationship to one another<span>single</span>
Def_pow_(self,b): if not then I’m sorry