Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 continue

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

Do they appear to be stressed out?

Answered: 1 week ago

Question

=+7 How has the COVID-19 pandemic impacted the operations of IHRM?

Answered: 1 week ago