The Drive-Rite Insurance Company provides automobile insurance policies for drivers. The company wants a program that accepts insurance policy data, including a policy number; customer last name;...

The Drive-Rite Insurance Company provides automobile insurance policies for drivers. The company wants a program that accepts insurance policy data, including a policy number; customer last name; customer first name; age premium due month, day, and year; and number of driver accidents in the last three years. If an entered policy number is not between 1000 and 9999 inclusive, set the policy number to 0. If the month is not between 1 and 12 inclusive, or the day is not correct for the month (for example, not between 1 and 31 for January or 1 and 29 for February), set the month, day, and year to 0. Display the policy data after any revisions have been made. Use the information provided to answer the following questions: a. Use IPO Chart to summarize the given problem by identifying input, output and processes in terms of variables. (Remember to consider rules for naming variables). (5 Marks) b. Suggest the data types for each variable in (a). (3 Marks) c. Use mathematical operators and variables to write the algorithm in the form of a flowchart. (7 Marks)y

Sep 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here