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, 23.06.2019 03:00
What are the different parts of computer
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
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, 25.01.2021 21:50
question
English, 25.01.2021 21:50
question
Mathematics, 25.01.2021 21:50