Archive: C program ASAP
Budget
167$
per month
Posted: 5 years ago
Closed
- Description
- c program You are required to write a C program to solve each of the following problems. Include comments in your C code. Structure your submission as a word processed report with a contents page. The actual content of the report will be the program listings. There is no need to include explanations or flowcharts as marks are not attributed to these.
1) An office worker needs a simple program to allow him to calculate prices with VAT added. He would like the program to ask him for a value, which he would then enter. It would then display the value along with the amount of VAT and the new total. The program would then ask if he wanted to continue or quit. Also consider having the ability to change the rate of VAT from 17.5%.
25 marks
2) Write a program to allow the user to enter a positive floating point number into a variable. The program should then obtain the integral part and the fractional part of the number and store them in appropriate variables. Finally the program should display the floating point number along with the integral and fractional values with appropriate headings for each.
25 marks
3) You are required to write a database program in C. The program should store the following details for each person:
Name
Address
Telephone number
E-mail address
You should clearly demonstrate use of the following features or concepts within your program and highlight their use with comments in the code:
1. A menu
2. Structures
3. File handling
4. Dynamic memory allocation
50 marks
Skills:
flowcharts,C++ programming language,problem solving,software development
- Category