Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need answer urgently for this question because I have Test now in 2 hour. I will give the best rate for you. Thank you

I need answer urgently for this question because I have Test now in 2 hour.

I will give the best rate for you. Thank you

Course: C++ Programming

image text in transcribed
QUESTION 4 a Hall: Cipta Universiti Telmologi \"ARA CONFIDENHAL CONFIDENTIAL 5 CSIAUG 2022fCSC40-1- 3) b} In a program, the record of a person's birth, consists of the name, date of birth (day, month, year) and the time of birth (hour and minutes]. Show the declaration of the shunt for storing this record, and the declaration an initialisation of a variable to store information about Ahmad Mustafa who was born at 9:45 am on 1H1 212001. [5 marks) The following sthct is to be used to store rental data of houses. struct HouseRent { stIing name; it name of primal).r tenant string address; if address of the house int numPeople; It number of people in the house double rent; If rent per month }; By using the struct, declare an array for storing information of 1D rental data. Get the data for the houses from the user. Display the name of tenants that have more than 10 people staying in the house and the address of the house with the high est rent cost per person. (15 marks}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions