I will send a Zip file with a sample and .txt file require for the program, the output of the program should be exactly the same as the sample. I just need the code.
These are the requirements for the code:
Global variables are not to be used! EVER.
GOTO and LABELS should never be used! EVER
Global constants are acceptable if a significant majority of the program and it's functions require them. Otherwise create them in main and pass them to functions as needed.
Variable name must match the context of the program. a global variable named studentLoanAmount is infinitely more readable than one called g.
All variables must be initialized on instantiation. (aka when declared e.g int theNumber = 0; )
ANY VARIABLE THAT DOES NOT CHANGE IS A CONSTANT, declare them as constants and use only UPPERCASE for its naming convention
Code must be neat and properly indented (plugins -> source code formatter fixes this )
All program specifications must be met.
Do-while vs while. If you find yourself repeating the loop conditions inside the loop, try again with better logic - aka a do while.
All input should be validated to be in range
If you are duplicating large sections of code your logic is broken
Loops should virtually never be infinite - they should have ending conditions: These are bad!
while(1 == 1)
When a program has specifications, e.g. "using functions" MAKE SURE TO USE FUNCTIONS!
When working with menus, as a rule of thumb you should use a switch..case structure
These is what the program is about.
The attached account info file consists of a triple of information.
A valid account number
The current account balance
The maximum account balance
Using the account info file write a program using appropriate functions that lets a user:
Enter a given account number
Enter a charge amount (positive values only)
This program then validates the account number and the amount. Then it determines if the current requested charge will exceed the account balance.
if a valid account, print a validation message
If a valid amount then print if the charge is accepted
if anything is invalid print a message indicating what is wrong.
Store the values in the file in appropriate vectors. once stored in the vectors, use the selection sort method to sort the array and use a binary search method to find the account number.
Do not use the algorithms library for either the sort or search, write the functions yourself.
23 freelanceria on tarjonnut keskimäärin 27 $ tähän työhön
I can write the program you request. Please upload the requirements Relevant Skills and Experience an experienced C/C++ programmer Proposed Milestones $30 USD - Payable upon the project's completion
Hi, I've got quite some experience with C++ and I'm sure I can help you out with your project. May I get more details over the chat? Relevant Skills and Experience C++ Proposed Milestones $30 USD - Completion
Hello, I'm interested in this project. Could you send me the account info file? Relevant Skills and Experience C programming Proposed Milestones $25 USD - C assignment
I did many similiar project in school. Im good with alorithms. Odpowiednie Umiejętności i Doświadczenie Good knowledge of c++. Zaproponowane płatności Milestone $10 USD - Project