Question: num _ apricots and num _ lemons are read from input representing the number of apricots and lemons, respectively. Meg's number of apricots increases 2
numapricots and numlemons are read from input representing the number of apricots and lemons, respectively. Meg's number of apricots increases times. Meg eats lemons.
First, write statements to update numapricots and numlemons.
Then, assign the variable totalfruit with the total number of apricots and lemons.
Click here for example
numapricots int input
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
