Docsity

Object-Oriented Programming Lab: Customer Balance Management - Prof. Mohammed, Assignments of Programming Languages

Partial preview of the text

Download Object-Oriented Programming Lab: Customer Balance Management - Prof. Mohammed and more Assignments Programming Languages in PDF only on Docsity!

WELCOME QUIZ

Object Oriented Programming Lab

CSL- Ms. Zupash Awais

Question:

Write a structure to store the name, account number and balance of

50 customers and store their information.

  1. Write a function to print the names of all the customers having balance less than $200.
  2. Write a function to add $100 in the balance of all the customers having more than $1000 in their balance and then print the incremented value of their balance.