Page 1 of 1

3. Two persons are allotted gift amount. For the first person allot Rs.200. For the second person allot Rs.400. Use cons

Posted: Sat May 14, 2022 3:38 pm
by answerhappygod
3 Two Persons Are Allotted Gift Amount For The First Person Allot Rs 200 For The Second Person Allot Rs 400 Use Cons 1
3 Two Persons Are Allotted Gift Amount For The First Person Allot Rs 200 For The Second Person Allot Rs 400 Use Cons 1 (44.65 KiB) Viewed 66 times
3. Two persons are allotted gift amount. For the first person allot Rs.200. For the second person allot Rs.400. Use constructors to assign the gift amount. Using Static member function and static data member count the total amount of the gift amount. Ex: first gift amount is 200 second gift amount is 400 final gift amount is 600