Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use assembly language for visual basic run . For Questions Q1 & Q2--- Each Question will be in a separate projectSample folder--- be sure to
use assembly language for visual basic run
. For Questions Q1 & Q2--- Each Question will be in a separate "projectSample folder--- be sure to rename the folder "as the Question number" Then put the two folder of Q1 & Q2 in another folder named by your "name-id Compress your folder and upload it on elearning using the submission link on e-learning Q1) [30 Mks ] Write an assemble code using Irvine library equivalent to the shown C code int main() { int score1, score2, score3, sum; printf("Enter score1:: "); scanf("%d", &scorel); printf("Enter score2:: "); scanf("%d", &score2); printf("Enter score3:: "); scanf("%d", &score3); sum 0; sum = score1+score2+score3; printf("The sum of the three scores is %d.", sum); return 0; } Q2) [30 Mks ] Write a code to implement the following arithmetic expressions X4 = -X1 + - X2 + (X2 - X3) Ask the user to enter values for X1, X2, X3. Then calculate the expression and print its value for the user Y1/Y2 Given that Y1= 105 and Y2=20, print the result and remainder for the user. . The Output should be as the following: Enter X1: 2 Enter X2: 4 Enter X3: 5 The Output is: -7 The result and remainder of Y1/Y2 is: +5+5 Press any key to continueStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started