NAME: UROOJ ASGHAR KHAN
ENROLLMENT NO.:02-135242-006
Task 1: CONVERTER (NUMERIC – ALPHABETS)
A child is learning about the alphabet and wants to explore how letters are represented
in computers using ASCII values. To make the learning experience fun and interactive,
the
child's parent decides to create a simple C++ program using for loop that prints ASCII
values and their equivalent characters for the uppercase and lowercase in English
alphabet.
E.g. (A to Z).
SOLUTION:
1|Page
DATE:2/10/2024
, BS (IT), SEMESTER 01, CP LAB ASSIGNMENT NO. 4
NAME: UROOJ ASGHAR KHAN
ENROLLMENT NO.:02-135242-006
OUTPUT:
Task 2: Inventory Management
You work for a small retail store that needs a program to manage its inventory.he
store wants a program that allows them to enter the quantity of each item in stock
and calculates the total value of the inventory. Each item has an associated
price.Write a C++ program by implementing loop concept on this task
Requirements
Prompt the user to enter the number of different items in stock.
For each item, prompt the user to enter the price per unit and the
quantity in stock.
Calculate and print the total value of the
2|Page
DATE:2/10/2024