Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
I have Assign in C++ , I create evrething but my project not work also Iput it all documents.==============================================================Account cpp #include "stdafx.h"#include <iostream>#include <iomanip>#include <string>#include "Account.h" using namespace std; int main(){Accountacct01;Accountacct02("Harold M. Ferguson", 2000);Accountacct03("Elise Janet Simmons", 3500);Accountacct04("James Holder", 0); cout << endl << "Account information - initial" << endl;acct01.displayAccountInfo();// show account information - initial valuesacct02.displayAccountInfo();acct03.displayAccountInfo();acct04.displayAccountInfo(); acct01.setAccountHolder("Mary A. Tarleton");acct01.setBalance(542.39);acct04.setAccountHolder("James Ellis Holder");acct04.setBalance(1990.75); cout << endl << "Account information after changes" << endl;acct01.displayAccountInfo();// show account information after changesacct02.displayAccountInfo();acct03.displayAccountInfo();acct04.displayAccountInfo(); acct01.depositAmount(455);// make depositsacct02.depositAmount(-19.95);// negative deposit not allowed - set to zeroacct03.depositAmount(4365.27);acct04.depositAmount(95.63); cout << endl << "Account information after deposits" << endl;acct01.displayAccountInfo();// show account information after depositsacct02.displayAccountInfo();acct03.displayAccountInfo();acct04.displayAccountInfo(); acct01.withdrawAmount(37.39);acct02.withdrawAmount(-475.25);// withdrawal may be positive or negative (absolute value)acct03.withdrawAmount(0.25);acct04.withdrawAmount(50.00); cout << endl << "Account information after withdrawals" << endl;acct01.displayAccountInfo();// show account information after withdrawalsacct02.displayAccountInfo();acct03.displayAccountInfo();acct04.displayAccountInfo(); cout << endl;system("pause");return 0;} =====================================================================Account.h #ifndef ACCOUNT_H#define ACCOUNT_H #include <string> using namespace std; staticintaccountNumber = 100000;// starting value for account# class Account{public:Account();// default constructorAccount(string name, double amount);// constructor with two parameters intgetAccountID()const;// ACCESSOR member functionsstringgetAccountHolder()const;// return name of account holderdoublegetBalance()const;// return account balance voidsetAccountHolder(string name);// MUTATOR member functionsvoidsetBalance(double amt);// assign amount to balancevoiddepositAmount(double amt);// add amount to balancevoidwithdrawAmount(double amt);// subtract absolute value of amount from balance// HELPER member functionsvoiddisplayAccountInfo()const;// display account information private:intgetNextAccountNumber()const;// get next account# (pre-increment account number)// private DATA membersintaccountID;// account# identifierstringaccountHolder;// name of account holderdoublebalance;// account balance}; #endif ==================================================================AccountClass #include "stdafx.h"#include "Account.h"#include <iostream>#include <iomanip> using namespacestd;Account::Account(){accountID = getNextAccountNumber();accountHolder = "no name";balance = 0;}Account::Account(string name, double amount){accountID = getNextAccountNumber();accountHolder = "no number";balance = 0;}
1. what is the output of the following c programs?nbspinclude ltiostreamgtusing namespace stdint mainnbspnbspnbsp cout
Write a very simple c program which will Ask the user to enter the desired character- Repeat the asking part until the user types a desired letter. For each even number of attempts
in this program you will implement a simple reverse polish notation rpn calculator. rpn is a notation in which
Write a friend function to compare the area of a rectangle with sides 12 and 8 to the area of a parallelogram with sides 14 and 18 and an acute angle of 40 degrees. Test it in main, and check the answer by hand.
Write the function: void shuffle(int ar[], int size); This function "shuffles" the elements in the array pointed by 'ar' (and whose length is 'size').
Let the user to input the two integer numbers in the subroutine, then do the subsequent math and show the result in the main function.
q1nbspnbspwrite c statements to do the following1. declare an array alpha of 15 components of the type int.2. output
A company that market is publishing both book and audiocassette versions
To make a profit, the prices of the items sold in a furniture store are marked up by 60%. Design an algorithm to find the selling price of an item sold at the furniture store. What information do you need to find the selling price?
Keep track of the size of the array so that you cannot exceed the array boundaries. The implementation details (i.e. the private members)of your class are up to you, but the class should have the following public interface
supposes you have a directory whose name is stored in 'specs.file_dir' which contains a file whose name is stored in 'specs.file_name'.
Write a C program that computes and posters the probabilities of two people in a group who are born in the same day. The probability of two people being born in the same day of the year, for a group of n people, is given by the following formula:
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd