Project 20

Structures (125 points)


Sample output 1

Entering Record number 1
==========================
Please enter name : jones
Please enter phone : 825-3475
Please enter age : 17


Another Record? (y/n) : y

Entering Record number 2
==========================
Please enter name : johnson
Please enter phone : 825-3654
Please enter age : 16


Another Record? (y/n) : y

Entering Record number 3
==========================
Please enter name : Jackson
Please enter phone : 825-2364
Please enter age : 18


Another Record? (y/n) : y

Entering Record number 4
==========================
Please enter name : Zeek
Please enter phone : 825-4122
Please enter age : 15


Another Record? (y/n) : y

Entering Record number 5
==========================
Please enter name : adams
Please enter phone : 825-3406
Please enter age : 17


Another Record? (y/n) : y

Entering Record number 6
==========================
Please enter name : collis
Please enter phone : 825-3647
Please enter age : 18


Another Record? (y/n) : n

Clear Screen Here

            Menu
=============================
= 1.) See Orginal List      =
= 2.) See Alphabetized List =
=============================
Please enter 1 or 2 : 2

Clear Screen Here

Alphabetized List Report
====================================
Name           Phone           Age
====================================
Adams          825-3406        17
Collis         825-3647        18
Jackson        825-2364        18
Johnson        825-3654        16
Jones          825-3475        17
Zeek           825-4122        15
====================================
  6                   Total: 16.83

Sample output 2


Entering Record number 1
==========================
Please enter name : SMITH
Please enter phone : 825-3547
Please enter age : 14


Another Record? (y/n) : y


Entering Record number 2
==========================
Please enter name : ANDERSON
Please enter phone : 825-4477
Please enter age : 15


Another Record? (y/n) : y


Entering Record number 3
==========================
Please enter name : MAYS
Please enter phone : 825-1196
Please enter age : 16


Another Record? (y/n) : n

Clear Screen Here

            Menu
=============================
= 1.) See Orginal List      =
= 2.) See Alphabetized List =
=============================
Please enter 1 or 2 : 1

Clear Screen Here

Original List Report
========================================
Name           Phone           Age
========================================
Smith          825-3547        14
Anderson       825-4477        15
Mays           825-1196        16
=========================================
  3                   Total: 15.00