Question: PROJECT 2 – ATM MACHINE For this project you will be building an ATM application that will allow ... PROJECT 2 – ATM MACHINE For this project you will be building an ATM application that will allow users to log in, deposit, withdraw, and check balance. Set a default beginning balance of $1000. I want all monies formatted to currency. Log in Usernames and passwords need to be stored in parallel arrays. At least three logins available for me. The user is allow only 3 attempts at password and it terminates The actual login will also be a method Deposit- must be a method Are they depositing cash, checks, or both (hint looping needed) If checks how many – hint looping After the user is finished with deposit you will show out the total of the deposit and the new balance Withdraw – must be a method After withdraw show amount withdrawn and new balance Check balance Show out current balance The program must loop until the user says they have not more transactions to make. THIS MUST BE IN C# Programming! Please also include the TryParse
In: Computer Science
In C++:
5) Suppose you have the following declaration:
struct student
{
string name;
int exams [5];
double average;
};
a) Declare a pointer to the structure student and use it to create a dynamic structure.
b) Ask the user to enter the name of a student and his 5 exam scores.
c) Calculate the average of the 5 exams and assign it to the average.
d) Delete the dynamic structure.
d) Create a dynamic array of 10 students.
e) Ask the user to enter the names of all student and their 5 exam scores.
f) For each student, calculate the average of the 5 exams and assign it to the average.
g) Delete the dynamic array.
6) Assume you have the following declaration (in main) :
int num[13] [7];
Assume that array num is filled completely. Write functions to perform each of the following:
a) A function that prints all elements in the array that are greater than 80 or less than 10.
b) A function that finds the largest number in the array and returns its subscript.
c) A function that finds and returns the average of all the numbers in the array.
d) A function that print the entire array in a neat table, but starting with the last row and proceeding in reverse order to the first.
7) Fill in the blanks to declare “Student’s” constructor taking two parameters and initializing its private members: names and dateOfBirth.
Student::Student( string x, Birthday bo)
___________: name (_______________) x,
dateOfBirth(bo) {
}
(answer is : for the first blank and x for the second blank)
In: Computer Science
implement merge sort,quick sort, and radix sort algorithms in java and test how long it will take to sort with random data sets of users input numbers.
In: Computer Science
Describe the compression/archive utilities listed below:
• 7-zip
• gzip
• rar
• tar
• zip
For each utility, do the following:
• Write a description of how the utility operates
• List the most common arguments & describe the
effect of that argument
• Briefly describe any compression algorithms
implemented by the utilities
Create a summary table that compares and contrasts the different utilities.
Cite any references you will use to create the paper (in APA format).
PLEASE don't copy from other Chegg answers. Thanks!
In: Computer Science
When data visualization should be used and why. Provide examples of reports or dashboards from real companies. Include links or screenshots of these reports.
In: Computer Science
The IKE v1 protocol consists of two phases, i.e., Phase 1 and Phase 2. Describe the functions of each phase and two reasons why the protocol is separated into two phases.
In: Computer Science
Question 2. A sustainable economic and fiscal (taxation) framework is a key part of the engineering procurement process. Propose, and justify, key sustainability criteria for inclusion in any fiscal (taxation) framework relating to the procurement of engineering products or information technology services.
In: Computer Science
Language HTML and Javascript
Here is a string: " Hi, my name is John. I am a student at Rutgers University. I am currently taking a Web Class."
1. Change "Rutgers University" to "RUTGERS UNIVERSITY"
2. Replace "Web Class" to "Web Client and Server side Programming"
In: Computer Science
Write equivalent LLVM IR for the following SimpleC program. I need the answer ASAP please if possible
int x; int y; read x; y = x + 1; print y;
In: Computer Science
We wish to implement a BigNumber class that represents nonnegative integers with up to 100 digits. To make this work, we will use an array of digits as the underlying representation. In particular, we will use an array of char, where each char represents an actual number from 0 to 9, not the ASCII characters '0' to '9'. That means when you implement the stream insertion operator you'll need to cast each array element to an int. So out << int(digits[i]) rather than out << digits[i].
Below it the code that will go in your BigNumber.h. You'll want to add the implementation file BigNumber.cpp where you implement all the prototypes in BigNumber.h. You'll also need to implement a Driver.cpp to with a main to test your functions.
class BigNumber
{
friend ostream &operator<<(ostream &, const BigNumber &); // stream insertion operator
// output the number as we would normally read it e.g. output 17 means the number seventeen.
private:
char digits[100]; // to hold the digits with digits[i] representing the 10^i's place.
int numDigits; // number of digits in the number, e.g 5 has one digit but 45 has two. ZERO should have zero digits
public:
BigNumber(int value = 0); // default constructor.
int getNumDigits() const; // return numDigits
bool isZero() const; // return true iff *this is equal to ZERO
bool operator< (const BigNumber & c) const; // less than
bool operator>= (const BigNumber & c) const; // greather than or equal
bool operator<= (const BigNumber & c) const; // less than or equal
bool operator== (const BigNumber & c) const; // equal
bool operator!= (const BigNumber & c) const; // not equal
};
//OUTPUT SHOULD BE AN INTEGER
UPLOAD THREE FILES: BigNumber.h and BigNumber.cpp and Driver.cpp. I should be able to load the three files in Visual Studio and everything will compile fine. I will also run your code with my driver so be sure your class will work correctly when tested extensively.
Your Driver.cpp will look something like this:
#include "BigNumber.h"
#include
using namespace std;
int main()
{
BigNumber n(123);
cout << n << endl;
// (etc.)
return 0;
}
In: Computer Science
The factorial of a nonnegative integer n is written n!
(Pronounced “n factorial”) and is defined as follows: n! = n.(n-1).
(n-2).……...1 (for values of n greater than 1) n!=1 (for n = 0 or
1)
For instance, 5! = 5.4.3.2.1 which is 120.
Write a Python program that reads a nonnegative integer n and
calculates and prints its factorial. Your program should display a
suitable error message if n entered as a negative integer.
Figure 6. Exercise
6 Sample Run for
n = 0, -8
and 5.
In: Computer Science
ALGORITHM ANALYSIS AND DESIGN
Analyze the given questions and answer accordingly
1. Given the algorithm to calculate the factorial of ‘n’. Mathematically analyze the given recursive algorithm to find out the time complexity of the algorithm.
Algorithm F(n)
If n = 0 return 1
Else
Return f(n-1) * n
In: Computer Science
Describe what a stateful packet filter is as compared to a normal packet filter, especially the characteristics that a stateful packet filter has and that allow some protocols, e.g., FTP, to work, if it is configured to block unwanted incoming TCP initiations from the outside to a computer on the inside network.
In: Computer Science
Create two data documents containing a patientRecord
– one in XML and another in JSON
format
Your patientRecord must contain the following data:
-A patient’s name & ID number
-The date of his/her last appointment & the date of the last update
-The patient’s allergies – you must include 2 – one for a food allergy and one for a drug
allergy
-The patient’s preference – you must include 2 – one for a doctor and one for his/her
method of contact (which would have a value of text, phone, or email)
In: Computer Science
Describe what a buffer overflow attack is, especially the main purpose of the attack. During program execution, an input function is called to get a user's interactive input to the program. Describe what will happen to the return address kept in memory during the function call and the consequences if the user is an attacker performing a buffer overflow attack.
In: Computer Science