Question: Integer numAssetValues is read from input, representing the size of vectors, aprAssetValues and octAssetValues. Then, the remaining integers are read and stored into vector aprAssetValues
Integer numAssetValues is read from input, representing the size of vectors, aprAssetValues and octAssetValues. Then, the remaining integers are read and stored into vector aprAssetValues and octAssetValues, respectively. Perform the following tasks:
If aprAssetValues is equal to octAssetValues, output "April's asset values and October's asset values are the same."
Otherwise, output "April's asset values and October's asset values are not the same."
Assign octBackup as a copy of octAssetValues.
Ex: If the input is:
then the output is:
April's asset values:
October's asset values:
April's asset values and October's asset values are not the same.
October's backup:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
