Question: CONFIDENTIAL (BITG 1233) QUESTION 5 (10 MARKS) a. Write a simple program that implement struct and pointer to get the length and width from the

 CONFIDENTIAL (BITG 1233) QUESTION 5 (10 MARKS) a. Write a simple

CONFIDENTIAL (BITG 1233) QUESTION 5 (10 MARKS) a. Write a simple program that implement struct and pointer to get the length and width from the user. Show the output as the following. Enter length = 7 Enter width = 3 The Area for this length = 7 and width = 3 is 21 (5 marks) b. Bergen needs to take three random value from the user and store them in an array. Then he wants to show the maximum value from the three random values that. Write a function that can return the maximum value by passing the array using pointers.

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 Programming Questions!