subject

3. (a) define a structure with tag name tutor. the structure is to consist of four fields: a 26 element character array called name, a 6 element character array called course, a short integer called hoursperweek, and a double called hrlywage

(b) assuming no padding. what is the size in bytes of an identifier of type struct tutor

(c) declare a pointer called y which can point to data of type struct tutor

(d) suppose we have declared struct tutor ece[40] and that all 40 elements of the array have been assigned data. write a series of statements that outputs all names for tutors in the array ece that have hoursperweek > 10 output the name and hours in a formatted manner. declare and initialize all variables you use

(e) suppose we have declared struct tutor ece [40] and that all 40 elements of the array have been assigned data. write a series of statements that that computes the average hrlywageof all tutors with > 10 hoursperweek. handle the case if there are no tutors satisfying this condition/

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
You know the right answer?
3. (a) define a structure with tag name tutor. the structure is to consist of four fields: a 26 ele...
Questions
question
Mathematics, 21.04.2021 23:30
question
Mathematics, 21.04.2021 23:30
question
Mathematics, 21.04.2021 23:30
Questions on the website: 13722360