Question: Integer numAssetValues is read from input, representing the size of vectors, janAssetValues and decAssetValues. Then, the remaining integers are read and stored into vector janAssetValues
Integer numAssetValues is read from input, representing the size of vectors, janAssetValues and decAssetValues. Then, the remaining integers are read and stored into vector janAssetValues and decAssetValues, respectively. Perform the following tasks:
If janAssetValues is equal to decAssetValues, output "January's asset values and December's asset values are identical."
Otherwise, output "January's asset values and December's asset values are not identical."
Assign decBackup as a copy of decAssetValues.
Ex: If the input is:
then the output is:
January's asset values:
December's asset values:
January's asset values and December's asset values are not identical.
December'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
