Cobol Programming COMP 210
LAB #3 – Working with files in COBOL
• Create a simple Cart Application
References: Read all the course’s material. You should have all the information you need to complete all the exercise. You can check the [login to view URL] material if you have access. If you don’t, please refer to the material given in class
Instructions: Be sure to read the following general instructions carefully:
This lab should be completed individually by all the students. You will have to demonstrate your solution in a scheduled lab session and submitting the project through e-learning link.
You must name your Cobol File according to the following rule:
ID_LastName_COMP210Labnumber
Example: 99999_Smith_COMP210Lab3
Apply the naming conventions for variables, and paragraphs:
- variable names start with a lowercase character and follow Camel Case rule
- Paragraph must start with the number of the paragraph flowed by a dash symbol and the name of the paragraph. Example: 100-MYPARAGRAH.
Exercise #1:
You are asked to create a shopping Cart application using Cobol Language.
You must Welcome the user to the Shopping Cart Application list application before starting asking to insert the values.
You must show the information as a menu of the items stored in the file guitars.dat.
Then you must ask the user what product they want to add to the shopping cart.
When the user finished buying, you must thank the user for using the application. All the products bought by the user must be stored in another file and show the total as a receipt.
NOTE: you must use at least one of the structure seen in the last week’s class.
Evaluation:
Functionality:
Correct implementation of variables (variable declarations)
40%
Correct implementation of the logic
30%
Comments, correct naming of variables, paragraphs, etc.
10%
Friendly input/output
20%
Total
100%
Guitar file layout:
Brand
Model
Year
Price (2 Decimals)
1-8
9-22
23-26
27-32
Hi,
I'm interested in you project and I would like to know more details. Kindly drop a message so that we can discuss in detail.
I have been in the industry for 12 years and such jobs are my daily practice. This is the first time on this site and hence you can see I do not have any rating/testimonials to show you. I can assure you that if you work with me once, you will always work with me for these kind of projects.
Thanks