quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-13

السؤال

Transcribed Image Text:

Define a class for a bank account that includes the following data members: i. Name of the depositor ii. Account number iii. Type of account iv. Balance amount in the account The class also contains the following member functions: i. A constructor to assign initial values ii. Deposit function to deposits some amount. It should accept the amount as parameter. iii. Withdraw function to withdraw an amount after checking the balance. It should accept the amount as parameter. iv. Display function to display name and balance.

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top