Question: A classroom has num _ chairs read from input representing the number of chairs. The classroom then receives 3 additional chairs. The next day, the

A classroom has num_chairs read from input representing the number of chairs. The classroom then receives 3 additional chairs. The next day, the classroom receives enough tables such that they have the same number of chairs and tables.
First, write statements to update num_chairs and num_tables.
Then, assign the variable total_furniture with the total number of chairs and tables.
Click here for example
Ex: If the input is 6, then the output is:
9 chairs
9 tables
18 total

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!