Question: 1. Write a C program that reads in -the dimensions of a room (length & width) and -the size of a desk (length & width)

1. Write a C program that reads in -the dimensions of a room (length & width) and -the size of a desk (length & width) and determines if the desk can fit in the room with each of it's sides parallel to a wall in the room. Assume the user enters positive numbers for each of the four dimensions. 2. Write a program that reads an integer and determines and prints how many digits in the integer are 8s. (digit number is 5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
