Question: With C language please solve this question with (structures ) Write a C program that does the following: 1. (2 points) Declare a structure called

With C language
please solve this question with (structures )  With C language please solve this question with (structures ) Write

Write a C program that does the following: 1. (2 points) Declare a structure called House with the following members: Ownername (string). Tenantname (string). NumberOfrooms (int) and Rent (float). 2. (3 points) Ask the user to enter the information of 10 houses and save them in an array called HOUSES. 3.3 points) Print the Ownername of the house(s) that has have) a Rent less than 150. 4. (5 points) Write a function called Sorthouses that takes the array HOUSES as an argument and sort it according to the NumberOfrooms in ascending order 3. (2 points) In the main, call the function Sorthouses and print the information of all houses after sorting

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!