Implement stack using linked list
Perform basic operations of stack and use menu to call the functions in main.
Note:
No global declarations
Make uses of classes/struct
create a calculator with all operations and contain round and square parentheses use a minimum of 3 classes the classes should contain at least one dynamically allocated char array, a dynamically allocated numerical array, a constant field, a static field, and a static method. The members should be class-related.
For examples of inputs:
1- [(2*3)^2]/4-(6+2)#3, where x^y means x at power y and x#y means y order root from x, will output 7 .
2- [4+(5-1)]*2 should output 16
The calculator will take the input from the console. The user will have the ability to write equations and entering the app will display the result. The calculator will accept input until the user types ‘exit’.
Write a program to display the month name as the user enters a number from 1 to 12 .Hint use switch statement…(1-september,2-october,…..)
Write an if-else statement that outputs the word High if the value of the variable score is greater than 100 and Low if the value of score is less than100. The variable score is of type int.
Write the following program in c++.
i. Create a class of your own choice with 5 attributes.
ii. Create an object of named objone in the intmain() function
iii. Access attributes and set values for all the 5 attributes
iv. Print all the attribute values
v. Create a function in the class that add two number and access the function using the oblject.
Write a C++ program that displays the row numbers of a matrix containing at least two even numbers. First, the program should create a 2D array (5 rows, 5 columns). Then, ask the user to input values in the matrix or 2D array. After that, program should display row number (or index) which has less than 2 prime numbers. If no row (of the matrix) contains at least two prime numbers then the program should display the message “No row found containing two prime numbers”.
!!!Please do exactly like this when the program runs this all should include also the * when typing the PIN!!!
AUTOMATED TELLER MACHINE
Screen/layout
MAD AUTOMATED TELLER MACHINE IS ONLINE
INPUT YOUR 6 DIGIT PIN ******
ENTER[Y/N]: Y
(default PIN is mad123; if correct go to main screen otherwise display the message "WRONG PIN". On the 3rd wrong attempt the prog. should exit)
[C]HECK BALANCE
[D]EPOSIT CASH
[W]ITHDRAW CASH
C[H]ANGE PIN
TRANSACTION: [C|D|W|H]: C
YOUR CURRENT BALANCE IS:
Php 0.00
TRANSACTION: [C|D|W|H]: D
INSERT YOU CASH
Php 15,000.00
Transaction [C|D|W|H]: W
INPUT THE AMOUNT OF WITHDRAWAL
Php 20,000.00
CASH NOT ENOUGH, TRY AGAIN
INPUT THE AMOUNT OF WITHDRAWAL
Php 5,000.00
TRANSACTION: [C|D|W|H]: H
INPUT YOUR CURRENT PIN ******
INPUT YOUR NEW PIN ******
VERIFY YOUR NEW PIN ******
ENTER[Y/N]: Y
AUTOMATED TELLER MACHINE
Create a C++ program that will
Maintaining balance is Php 5,000.00
Interest rate is 5%
Bank charge is 2%
PIN (Personal Identification Number) is required to do a bank transaction
The program gives the user an option to change PIN
The customer should be born on or before july 22 1987
The month of D.O.B should be of 21 days
Create an array list.
Use class and call the basic functions in main
Note:no global declarations