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:
2
125221
109384
then the output is:
January's asset values: 125221
December's asset values: 109384
January's asset values and December's asset values are not identical.
December's backup: 109384

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!