0% found this document useful (0 votes)
9 views

IT123 Assignment Computer Programming IIC

The document provides instructions for a programming assignment with 4 questions. Students are asked to write programs to calculate weekly salary and overtime pay, future investment values using a formula, simulate an Airtel menu, and create a scientific calculator program.

Uploaded by

bwalyanelson99
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

IT123 Assignment Computer Programming IIC

The document provides instructions for a programming assignment with 4 questions. Students are asked to write programs to calculate weekly salary and overtime pay, future investment values using a formula, simulate an Airtel menu, and create a scientific calculator program.

Uploaded by

bwalyanelson99
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CAVENDISH UNIVERSITY ZAMBIA

IT123: COMPUTER PROGRAMMING II: in C++


ASSIGNMENT
ANSWER ALL QUESTIONS
(For Full-Time /Part-Time & Distance Learners Students)
Instructions

1. Ensure that all your programs compile and do not have any errors.
2. Use comments where necessary to explain what your code does.
3. All programs should be accompanied by screen shots and documentations. (in Word)
4. Place all you project files in one folder and zip/ or RAR it. Name the zip/rar file using
your student number_module name_student name: e.g
000_001_Programming_Surname_Firstname
5. Upon completion upload the zip/RAR file to ClanED
The Assignment must be subjected to Turnitin or any credible anti -
plagiarism tool.
6. Be reminded that you will be required to defend your solutions at some point.
(prepare adequately)
7. The Assignment is due on 10th May, 2024. Assignment submitted after due date will
NOT be marked from the total marks allocated
8. Bibliography list of the books must be indicated, preferably use the Harvard Reference
QUESTION 1

Write a program that calculates and displays the weekly salary for employee who earns
$12.5 an hour on 30 regular working hours, and earns time and half (wages * 1.5) for
over time worked:

Required:
Prompt the User to only enter the number of hours worked.

QUESTION 2

Write a program (Financial application: future investment) that reads (prompts) in investment
amount, annual interest rate, and number of years to invest, and displays the future
investment values from year1…. YearT; using the following formula:

[Pt = Po (1+r)t] where; Amount = principle * math. Pow (1.0 + rate, year)

QUESTION 3

Write a program (Airtel Menu) to simulate the Airtel Menu using the Unstructured
Supplementary Service Data (USSD) of *117#.

The system should prompt the user to enter a value which will correspond to the
required functionalities.
(Kindly take time to study the CURRENT Airtel USSD MENU *117# quick
codes)
N.B: The application is just for simulation purposes; thus, NO need to be
connected to any payment gateway

QUESTION 4

Create a program with basic functionalities of a Simple Scientific Calculator including


trigonometry functions.

(Total =100 Point)


Prepared by: Sinkala 0978316789

Be reminded that you will be required to defend your solutions at some point.

(prepare adequately)

©2023

You might also like