Computers and Technology

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/

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 08:30, Calirose
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
image
Computers and Technology, 23.06.2019 12:50, tommy4260
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
image
Computers and Technology, 25.06.2019 00:40, lexieprochaskaaa
Roger ginde is developing a program in supply chain management certification for managers. ginde has listed a number of activities that must be completed before a training program of this nature could be conducted. the activities, immediate predecessors, and times appear in the accompanying table: activity immediate predecessor(s) time (days) a -− 44b -− 55 c -− 11 d b 1010 e a, d 55 f c 55 g e, f 1010 calculate the slack time. show the details.
Answers: 2
image
Computers and Technology, 25.06.2019 06:30, tiwaribianca475
How can u permanently delete a picture from your camera ?
Answers: 1
Do you know the correct answer?
3. (a) define a structure with tag name tutor. the structure is to consist of four fields: a 26 ele...

Questions in other subjects:

Konu
Mathematics, 13.09.2020 01:01
Konu
Mathematics, 13.09.2020 01:01
Konu
German, 13.09.2020 01:01
Konu
Mathematics, 13.09.2020 01:01
Konu
Social Studies, 13.09.2020 01:01
Konu
Mathematics, 13.09.2020 01:01
Konu
Mathematics, 13.09.2020 01:01
Konu
Biology, 13.09.2020 01:01
Konu
Mathematics, 13.09.2020 01:01
Konu
Mathematics, 13.09.2020 01:01