Find the matrix using the assembly language

Assignment Help Computer Engineering
Reference no: EM13488097

Find the matrix using the assembly language

#include<stdio.h>
int array[100];
int main()
{
int n,pos,a;

while(1)
{
printf("enter 1 to insert\n2 to print\n3 to exit");
int ch;
scanf("%d",&ch);
if(ch==1)
{
printf("enter the number of n");
scanf("%d",&n);
printf("enter the pos");
scanf("%d",&pos);
array[pos]=n;
}
else if(ch==2)
{
printf("enter the pos");
scanf("%d",&pos);
printf("your number is %d",array[pos]);
}
else if(ch==3)
break;
else
{
printf("your enter invalue choice");
}

}
return 0;
}


Attachment:- displaymatrix.rar

Reference no: EM13488097

Questions Cloud

Find the pressure in the upper segment of the pipe : Water (? = 1000 kg/m3) is flowing smoothly through a pipe of diameter of 5.0 cm at a speed of 0.25 m/s. Find the pressure in the upper segment of the pipe
Suggest an architecture for a system : Suggest an architecture for a system that is used to sell and distribute music on the internet. What architectural patterns are the basis for this architecture?
Express adjusting journal entries : The accountant found an unpaid Invoice for 3900 for advertising services on behalf of the company. The advertising campaign had been planned and advertising contracts signed before the year-end, but the campaign took place just after the year-end.
What is the power in the rod : There is a region with a constant magnetic field 5.2T. The magnetic field is directed out of the page. What is the power in the rod
Find the matrix using the assembly language : Find the matrix using the assembly language
How far past the edge of the table will it land : Suppose a projectile is to be fired from the floor onto a table 1.1 meters high that stands 92 centimeters from the point at which it is fired
Calculate the change of the etrophy of the ice : A 1.00 kg block of ice at 0 C and 1.00 atm melts completely to water at 0C. calculate the change of the etrophy of the ice during the melting process
What percent of the work is lost to friction : A 4.5- kg box of books is pulled up a 3.66- m-long inclined plank to a height of 1.4 m. What percent of the work is lost to friction
Feedback system stable using routh-hurwitz criterion : Determine the range of K that will make this unity feedback system stable using Routh-Hurwitz criterion and determine its gain margin and phase margin.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What are three levels of concurrency in programs

can someone please explain to me what are the three levels of concurrency in programs.

  What are the major problems of nrz

What are the major problems of NRZ (Non-Return to Zero) encoding/signaling? Is there any case where it's use could be acceptable? explain.

  What experiences have you had with virtualization in the

write a 200- to 300-word short-answer response to the following what experiences have you had with virtualization in

  When building a house a structured modular approach is

answer this question in 200 to 300 words. this is an it programing question1. when building a house a structured

  The chief executive has some sympathy with the notion that

woolsmorth is a large retail company specializing in groceries and clothing. it was founded in 1995 and currently has

  What do you mean by pseudocode and case subroutine call

What do you mean by pseudocode and case Subroutine call

  How many restore commands would you have to give to recover

In the worst case scenario, how many restore commands would you have to give to recover a file that was dumped using this schedule?

  Question1 evaluate and contrast two different software

question1. evaluate and contrast two different software development approaches such as the waterfall model versus the

  What is the importance of having ram

What is the importance of having enough RAM? How does it relate to how quick a computer can process data from a large database residing on ones hard drive? What is the importance of virtual memory if you don't have too much RAM & how does it relate..

  Describe what you consider to be some attributes

explain what you consider to be some attributes of a well-written program. What would you look for when reviewing a programmer's code during a quality assurance review.

  Explaining dynamic programming approach

Assume we have a directed the acyclic graph G = (V,E) with the real-valued edge weights and two distinguished vertices s and t.

  Explain the costs involved in the creation of the system

Describe the types of business needs that can be addressed using information technology-based solutions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd