Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Huzaifa Sultaan
You are required Develop a Software for a Bank to perform different functions.?
• Project code must follow C++ syntax and cover the concepts particularly
1. Classes , Friend functions ,Function overloading
2. Dynamic memory allocation
3. Text Files (to save data)
4. Structures
Your program follow these task:
b) Display a welcome / greeting .
c) Menu driven program to allow ‘View Balance’, ‘Deposit’, ‘Withdraw’, ‘Transfer’ and ‘Exit’. Start with a beginning balance of 1000.00 in checking and 1500.00 in savings.
a) Should allow 5 users for Performing of different task like view balance, Deposit etc.
b) In View Balance, Current Balance should be shown.
c) In the Deposit, the customers can deposit amount in his account and updated balance must be displayed.
d) In the withdraw, the customer can withdraw amount and updated balance must be shown.
e) In the Transfer, the amount must be transferred to other customer account.
f) If amount is less than 500 Rs then deduct 25 Rs on each withdraw.
g) If amount is Greater than 2000 Rs Then
4 AnswersProgramming & Design1 decade agoHow will you express the following expressions?
How will you express the following expressions?
1. float (**a(void))[6];
2. short (**b(void))(int);
3. long *(*(*c(void))(int))[6];
4. char *(**d)(void);
5. double *(*(*(*e)(void))[5])(void);
1 AnswerProgramming & Design1 decade agoWhat is DB-9 connector? Write down the names of 9 pins of DB-9 connector?
2)Answer the following regarding Protected Mode descriptors
Write the following descriptors in the format
dd 0x0000FFFF, 0x00CF9A00
Assume following values for attributes
A bit = 0
P bit = 1
G bit = 0
AVL bit = 1
R bit = 0
i. 32 bit, non conforming, execute-only code segment at level 2, with base at 0x00403333 and a limit of 0x0FFFF.
ii. 32-bit Read only data segment at level 0, with base at 0x00A0BBBB and limit of 0x1CCCC.
3)
Describe the following descriptors. Give their type and the value of all their fields:
i. dd 01234567h, 789abcdeh
ii. dd 30405060h, 70809010h
3 AnswersProgramming & Design1 decade agoBeing the entrepreneurs develop the business plan for boutique business.?
You are to indulge yourself in a boutique business. You being the entrepreneurs are required to develop the business plan for such business
1 AnswerOther - Advertising & Marketing1 decade agoWrite a program in C++ which creates three classes?
Write a program in C++ which creates three classes named as
o TVChannel
o NewsChannel
o MusicChannel
Where NewsChannel and MusicChannel are inherited from TVChannel
Each class has the method DisplayName. DisplayName method should be pure virtual in TVChannel class.
This method should be overridden in both the inherited classes. It is meant to display the channel name of its respective class. DisplayName of NewsChannel will display the message;
This is NewsChannel
Similarly, the DisplayName of MusicChannel will display the message;
This is MusicChannel
In main, call the DisplayName method of both the Channels polymorphically through the parent class (TVChannel).
3 AnswersProgramming & Design1 decade agoConsider the following class definition for a binary tree of integers.?
Consider the following class definition for a binary tree of integers.
class binTree {
public:
btnode* root; // root of the bintree
btnode* current; // current node in the bintree
binTree();
bool isEmpty();
int CountInterior(); //count the number of interior nodes
};
class btnode {
friend binTree;
int value;
binTree left; // left subtree
binTree right; // right subtree
public:
btnode(int value); // Constructor
bool isLeaf(); // True if this node is a leaf; false otherwise
};
Complete the C++ code for a recursive method called CountInterior that returns the number of interior (non-leaf) nodes in a binary tree.
int bintree::CountInterior()
{
}
1 AnswerProgramming & Design1 decade ago