.

Friday, August 30, 2019

Oopp Lab Work

Create a class account that maintains AC_no, name, and balance. Perform deposit, withdrawal and statement print operations. (statement print must print all the transactions that has taken place so for – use structures inside the class to maintain the details about Create a class that holds the details of the mobile phone like brand, mime, no of Simi cards, hone numbers etc. . Allow user to login with their mobile no. Use a function that sends a message from that mobile. Maintain the details of the message as a static member inside the send message function and display each time all the messages sent from that mobile, (b) 4. Create a class ID_card that maintains the details In an ID card. Perform insert, update, delete and display operation through functions that takes input through reference parameter. (c) Create a C++ program that takes employee details like ID, first name, last name, age and address.Create a class for student {name, course, regular/part-time, address}. Use f riend function to check that a student with same name and address can't be a regular student as well as an employee. (c) 6. Synthesize a C++ program that has two classes (one for employee and one for student), have a separate class for address (with door no. Street name, city, state) and reuse address both for employee and student. Perform insert, delete and display operations by taking choice of person (employee or student) from the user. Allow user to have more than one address also.Create an class that stores details about the computer (Assembled/branded, RAM, HAD, processor speed, price etc. ,). Use constructors to initialize the object and a destructor that deducts the count of object each time the object is passed to destroy function. Also use copy constructor to create a system with the configuration same as that's of an existing system. (b) 8. Create a savings_account class that maintains the details of customers like name, phone number. Cancan. Balance. Ensure that the vari ables are protected with proper specifies such that only the user's personal details can be modified directly.Perform deposit, withdrawal, statement print, and pin change operations by checking for minimum balance and other conditions. Create a new account for the same user by copying the basic details of the user using a copy constructor. (c) † 9. Create a class which maintains information like surname, password, age, mailed, phone number, accepted friends list, etc†¦ Declare a friend function Inside the class. Create 3 users such that the first user is friend with 2 and 3 (update friend list of user 1 with user names of 2 and 3). If the users logs in, he should see the personal Information

No comments:

Post a Comment