Question: The initial value of num _ chairs is read from input. Assign num _ tables with the sum of num _ chairs and 2 .
The initial value of numchairs is read from input. Assign numtables with the sum of numchairs and Then, assign numchairs with the same value as numtables. Lastly, assign totalfurniture with the sum of numchairs and numtables.
Click here for example
numchairs int input
Your code goes here
printnumchairs, 'chairs'
printnumtables, 'tables'
printtotalfurniture, 'total'
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
