السلام عليكم
هلا اشحالكم اخواني
عندي تسليم اليوم لبرنامج سي ++
ومن يومين احاول احله وما قدرت احل الا ثلاث اسأله
فممكن تساعدوني فيهم
وهاي هي الاسأله المتبقية
1. Write a C++ Program using functions to print the samllest numbers and largest number from the three integers.
---
2. Write a C++ program to calculate and print the sum, difference, product and division of two the integer numbers using user-define-function .
---
write a C++ program that
a) construct a class Bank_account with attributes (data) Acc_no (account number), name (customer name) and balance (current balance). [Note: use constructor member function with two parameters to intialize the class attributes]
B) Provide set_val member function that allows the bank operators to update account information of a given customer
c) Provide Deposit member function that allows the customer to deposit money to his current balance
d) Provide withdraw member function that allows the customer to withdraw an amount of money from his current balance.[Note: This function should give the ability to withdraw from the current balance but not more than the current balance
e) Provide display memebr function to print out the account number followed by customer name and current balance
f) The main program should
i) Declares two objects for two distinct customers C1 and C2. C1 has an account number 990995 and current balance 1000 AED. C2 has an account number 559955 and current balance is 7000 AED
ii) The customer C1 tries to withdraw 2,000 AED from his current balance and the customer C2 deposits 10,000 AED to his current balance
iii) Display the current balance of both customers C1 and C2
بلييييييز حتى لو تشرحولي الطريقه وانا بحاول اتفاهم ويا البرنامج
مع احترامي
asm.dxb