Write a program that controls the laser system at a medical devices company.

Please read the specifications carefully. The result should match the screenshoot below to get full credit.
I already did half of the assignment. I need help to complete it. I attached the code file below. Please pull the LaserSystem.asm file and continue working on it. Thanks!
INCLUDE Irvine32.inc
.data
control byte 0h
msg0 byte “Medical Laser Syste”, 0
msg1 byte “Start? y/n: “, 0
msg1a byte “system started”, 0
msg2 byte “Standby? y/n: “, 0
msg2a byte “System in standby mode”, 0
msg 2b byte “Standy bit: “, 0
msg3 byte “Ready? y/n: “,0
msg3a byte “System in ready mode”, 0
msg3b byte “Ready bit: “, 0
msg4 byte “Fire? y/n”, 0
msg4a byte “System in fire mode”,0
msg10 byte “Invalid input”, 0
.code
main PROC
mov edx, offset msg0
call WriteString
call crlf
start:
mov edx, offset msg1
call WriteString
call readchar; get the user input yes enter Standby mod
or al, 20h; convert Y it to lowercase letter
cmp al, “y”; cmp if both equal jump to standby
jz standby; jmp to standby mode
cmp al, “n”; cmp uppercase N to n
jz start; if equal jmp to start
jmp invalid
standby:
mov edx, offset msg2a
call writestring
call crlf
mov edx ,offset msg2b
call WriteString
call readInt
ready:
mov edx, offset msg3
call WriteString
call readInt
firing:
mov edx , offset msg4
call WriteString
call readInt
invalid:
mov edx, offset msg10
call Writestring
call crlf
jmp start
exit
main ENDP
end main
Project Description
Write a program that controls the laser system at a medical devices company. The program includes a main procedure which gets user inputs and uses the input values for the OK button press, CANCEL button press, the SET button press, the CLEAR button press, and other functionalities on the touch screen. The program should generate the output which is shown on the sample run/output below.
Specifications
Define a 8-bit control variable and initialize it with 0.
Declare status messages for the program output.
Create a main procedure to get user inputs.
Use ‘y’ for the OK button press and ‘n’ for the CANCEL button press.
Display an error message if user input is neither ‘y’ nor ‘n’.
Note that the system has four different modes: Start, Standby, Ready, and Fire.
Assume the user enters 1 to set the bit and enters 0 to clear the bit.
Set the MSB of the control byte to confirm the laser is in the standby mode.
Set the LSB of the control byte to confirm the laser is in the ready mode.
Make sure the MSB and the LSB of the control variable should be set before firing the laser.
Use the following instructions along with other instructions for your program: CMP, JZ, SHL, RCL, RCR, and OR.
Test the program and generate the output.

Give the user an unlimited amount of chances to enter the a valid number of order

Project Instructions
You have been hired by a local smoothie shop to write a program that will calculate the cost of a smoothie order. The shop sells four types of smoothies in three different sizes: Small (20 oz), Medium (32 oz) and Large (40 oz). Your program should use a menu for the type of smoothie and a second menu for the smoothie size. Calculate the total cost of the order including tax and display a bill for the smoothie. See the Sample Output. The sales tax rate is 4.5%. Use named constants to hold the cost per ounce of each of the products and the sales tax rate. Use the constants in your calculations and wherever else they are appropriate in your program.
Product Cost per Ounce
Banana $0.62
Strawberry $0.60
Mango $0.48
Blueberry $0.57
modular.
Instead of having one long main function that contains all the statements necessary to solve the problem given in previous projects, you must write several smaller functions that each solve a specific part of the problem. These small functions should then be executed in the correct order to implement a complete solution.
The named constants you used in previous projects should now be made global so you won’t have to pass those values to any function.
In addition to the main function, your code must include the specified functions. These functionss must be written exactly as specified to avoid a major error penalty.
Make sure your program uses the values returned from your functions. Any functions that need input to perform a task will have to accept arguments. Global variables are prohibited.
Steps:
Make all of your named constants global.
Define prototypes and define the following functions:
Function 1 – displayStartMenu
A void function that only displays the first menu. See Sample Output for format.
Function 2 – determineCostPerOz
A double returning function that accepts the user’s menu choice for type of smoothie and returns the price per ounce.
Function 3 – determineNumberOunces
An integer returning function that accepts the user’s menu choice for size of smoothie and returns the number of ounces.
Function 4– calcSmoothieSubtotal
A double returning function that accepts the price per ounce and the number of ounces purchased and returns the price of the smoothie.
Function 5– calcSalesTax
A double returning function that ONLY accepts the price of the smoothie and returns the sales tax.
Function 6– calcCostBill
A double method that accepts the price of the smoothie and the sales tax and returns the total amount owed.
NOTE: All functions must be coded as instructed above. Modifying the functions (meaning adding or removing parameters, changing the return type of the function, etc…) will count as a major error (i.e., one major error deduction for each function that is modified.)
.
The start menu must still give the user the ability to process a single order manually, process multiple orders, or quit the program. For this new menu only, you must validate the user’s menu choice so that only values of 1, 2 or 3 are accepted and users have an unlimited number of chances to enter a valid menu choice. Your program must continue to run until the user chooses the “quit” option from your menu.
sample run video:
Previous Project Steps:
Add a menu to offer the user a choice of processing a single order, processing multiple orders, quit the program. This menu should be the first thing displayed when your program begins executing. The menu format should match the one in the Sample Output.
Allow the user to continue making menu choices until they choose the option to quit. Always display the menu before prompting the user for a menu option. Properly handle an invalid menu choice. The user should have an unlimited number of chances to enter a valid menu choice.
Add functionality to display randomly generated smoothie orders. When the user selects the option to process multiple orders, bills should be created and displayed for every entry. The user should be asked to enter the number of orders they would like to make, then random numbers should be used to generate the smoothie type and the size. Each bill generated should display the order number, smoothie type for the order, the size of the smoothie, the subtotal of the smoothie, the sales tax for the smoothie, and the total cost for the order. See the Sample Output for what each bill must contain. The example contains 5 records, but your program must be able to process any number of records based on the number of orders the user chooses. Validate the input of the number of orders so that the user must enter at least 1 order and no more than 10 orders. Give the user an unlimited amount of chances to enter the a valid number of order

// find high score and output

I attached a file with the code that I have to write, and the template for this code:)
#include
#include
#include
using namespace std;
// Add all occurences of goal value
int CheckSingles(vector& diceValues, int goal) {
/* Complete the function and update the return statement */
return -1;
}
// Check for three of a kind (score = 30)
int CheckThreeOfKind(vector& diceValues) {
/* Complete the function and update the return statement */
return -1;
}
// Check for four of a kind (score = 40)
int CheckFourOfKind(vector& diceValues) {
/* Complete the function and update the return statement */
return -1;
}
// Check for five of a kind (score = 50)
int CheckFiveOfKind(vector& diceValues) {
/* Complete the function and update the return statement */
return -1;
}
// Check for full house (score = 35)
int CheckFullHouse(vector& diceValues) {
/* Complete the function and update the return statement */
return -1;
}
// Check for straight (score = 45)
int CheckStraight(vector& diceValues) {
/* Complete the function and update the return statement */
return -1;
}
// Find high score
int FindHighScore(vector& diceValues) {
/* Complete the function and update the return statement */
return -1;
}
int main() {
vector diceValues(5);
int highScore = 0;
// Fill array with five values from input
for(int i = 0; i < 5; ++i) { cin >> diceValues.at(i);
}
// Place values in ascending order
sort(diceValues.begin(), diceValues.end());
// Find high score and output
highScore = FindHighScore(diceValues);
cout << "High score: " << highScore << endl; return 0; }

Download and unzip starter package.

The purpose of exercise is to study working existing code of C# program and modify it according to listed requirements.
Complete MS Studio Application Package starter:
wk-4-FileAccessApp.zipDownload wk-4-FileAccessApp.zip (download and unzip before using)
Please study this code first before you modify it as required.
Prompt
1. Download and unzip starter package. Make sure FileAccess application works on your MS Studio version.
2. Modify the Application so, it reads not only numbers from the text file, but also UserName. The idea is to have list of users (as UserName a string type) and their corresponding userID (an integer number limited to 5 digits). Prepare text file to fit the task and modify application so it reads data from the file and displays UserNames list with their corresponding IDs. (have at least 10 names with IDs)
For example, smething like that:
Jhon 1234
Anna 2152
…..
etc…
3, Test and submit by due date
Submission
Submit MS WOrd file with PrintScreen demonstration of successful execution of your program and
Zipped folder with the C#project (program) code