Store and display information about all applicants

Assignment Help C/C++ Programming
Reference no: EM131065057

Introduction

A vehicle registration system is developed using C program by implementing the Queue functionality. This registration process is done at Royal Oman Police (ROP). Both private and commercial vehicles in Oman must be registered with an owner be it an individual or an organisation.

A new registration form is filled in by the applicant or their representative. Once the applicant submits the form they will allotted a token ID. All registered vehicles display a vehicle registration plate and c.vry a vehicle registration certificate. The purpose of vehicle registrations is to establish clear ownership and to tax motorist or vehicle owners.

Public and private sectors. Omani nationals and expatriates are free to own a vehicle in Oman with the exception of vehicles to be registered as a taxi. The document submission is different for the expatriates. This system is developed to maintain the applicant record in memory so that applicant information can be retrieved. Queue is implemented to maintain the applicant queue.

Aim

You are required to code and test a C language program to store and display information about all applicants in a text file. When the applicant enters the Vehicle Registration system after submitting the token number and he/she should be in queue to register the vehicle.

The application program is to be a main menu consisting of sub-categories:

1. Applicant Registration Details

2. Applicant Queue

3. Search Applicant

4. Exit

The system should prompt the user to choose a sub-category from the main menu. Each sub-category contains the following items:

1. Applicant Registration Details which contains the following items:

a. Add details of an Applicant: this function allows data entry to add detailed information of applicant to the system and stores it in the applicant text file. This information is:

- Applicant Name
- Civil ID
- Address
- Contact Number
- Vehicle Type
- Date of Vehicle Purchase
- Description

b. Search specific applicant information from the applicant text file by using the civil ID

e. Display information of the applicant in the text file

d. Exit: To return back to the main menu.

2. Application Queue which based on array of integers and contains the following items:

a. Push:

- The applicant enters the new registration queue.

- Applicants will be placed one after another in a queue.

- The token ID should be an integer.

b. Display

- Display the total number of the token ID in the queue.

c. Pop

- The Applicant registered will be removed from the queue.

d

- To return back to the main menu.

3. Search Applicant

By using the applicant Civil ID, all applicant details need to be displayed.

To end the program

Reference no: EM131065057

Questions Cloud

Find an expression for the critical load qcr : Find an expression for the critical load Qcr. (In other words, at what load Qcr does the system collapses because of Euler buckling of the columns?
Find directions on how to use the penn foster library : Persuade your audience that the use of alternative energy is beneficial and economical, or that the use of alternative energy is expensive and as detrimental as traditional energy sources
Concepts and methods underlying the valuation of companies : sing your own words, describe the concepts and methods underlying the valuation of companies, including both profitability and risk analysisMany experts suggest that the PE ratio is an obsolete way to value firms.
Evaluating the share of ashoka automobiles company : A prospective investor is evaluating the share of Ashoka Automobiles Company. He is considering three scenarios. Under first scenario the company will maintain to pay its current dividend per share without any increase or decrease.
Store and display information about all applicants : You are required to code and test a C language program to store and display information about all applicants in a text file. When the applicant enters the Vehicle Registration system after submitting the token number and he/she should be in queue ..
Determine the ratio h/b such that the critical load : Determine the ratio h/b such that the critical load
Annual coupon bond when the discount rate : 1. What is the value of a 5-year 7% annual coupon bond when the discount rate is
What is the effect on the critical load when the rods act : What is the effect on the critical load when the rods act as a single member?
How do we define price elasticity of demand : How do we measure price elasticity of demand? What is in the numerator of elasticity equation? What is in the denominator? In elasticity calculations, we use the midpoint formula to determine percentage changes.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program definition with the templates and methods

This program will store in miniVector v a list of 15 random integers from 0 to 99, then it will output the vector, sort the vector, then output it again sorted.

  Find the pairs in any given matrix

write a c program which will find the pairs in any given matrix, whose sum of pairs are 10.

  A run is a sequence of adjacent repeated val

A   run   is   a   sequence   of   adjacent   repeated   values.   Using   an   array,   write   a   program   that   generates   a   sequence   of

  Prompts the user to input the shipping cost per liter

Write a program that does the Prompts the user to input the dimensions (in feet) of the container (radius the container (radius of the base and the height)

  Write a class player that contains attributes for the player

Write a class player that contains attributes for the players name,average and team.write three functions to input change and display these attributes. also write a constructor that ask for input to initialize all the attributes.

  Make a program to play lottery

make a program to play lottery. The program randomly generates a Lottery of a three-digit number( any number from 100 to 999), prompts the user to enter a three-digit number, and determines

  Create your own function that accepts one input parameter

Create your own function that accepts one input parameter and returns a float number. You decide the theme. You should provide the pseudocode and an example call. Be sure to provide an overview of what your function is doing.

  How does a sequential file work

How does a sequential file work? Provide an example. Provide C++ code that opens, reads, and then closes a sequential file

  Write a c++ program that creates and populate a tree

Write a C++ program that creates and populate a tree for an arithmetic expression. Then it should perform an in-order and a post-order traversal on the tree.

  Program that translates a letter grade into a number grade

Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or -.

  Rationalnumber class a rational number is a number that can

rationalnumber class a rational number is a number that can be represented as the quotient of two nbspintegers. for

  A store with a bag of groceries

write C++ statements that remove all the items from storeBag and place them into one of two new bags, as follows: Place all occurrences of bread and eggs into fragileBag, and all other items into groceryBag. When you are done, storeBag should be empt..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd