Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(iv) int nums [50], *iptr = nums; (v) double *iptr &ivar double ivar; [6 marks] (c) Write a structure declaration named student_info to hold the
(iv) int nums [50], *iptr = nums; (v) double *iptr &ivar double ivar; [6 marks] (c) Write a structure declaration named student_info to hold the following data about a student basic information: Account Number (string object) Account Balance (double) Interest Rate (double) Average Monthly Balance (double) [5 marks] (d) Write statements that will store the following student's data, as shown in Table Q2(d) in the variable you defined in Q2(c). Table Q2(d) Data Input Data 1 Data 2 Account Number : 7666 8999 Account Balance : RM2300.00 Interest Rate : 1.3% Average Monthly Balance : RM2120.55 Account Number: 2300 4200 Account Balance : RM900.20 Interest Rate : 1.3% Average Monthly Balance : RM804.40 [4 marks] (e) Write a complete program that will display the entire data you created in Q2(d)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started