Question: Declare an int variable artifactsFound and initialize it to 2 5 to represent the total number of artifacts you've initially cataloged upon discovery. Declare another

Declare an int variable artifactsFound and initialize it to 25 to represent the total number of artifacts you've initially cataloged upon discovery. Declare another int variable day and initialize it to 10. Print out Found [artifactsFound] artifacts on day [day], where [artifactsFound] and [day] are the values of the two variables. Now re-assign to artifactsFound the value 32, and to day the value 16, and print out the same string again.

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 Programming Questions!