Developing a solution to the problem

Assignment Help Other Subject
Reference no: EM132161725

The basics of conditionals.

Requirements

This assignment consists of five major requirements.
1) Developing a solution to the problem below.
2) Ensuring that it assembles and runs correctly using the tools on edoras.
3) Documenting your solutions correctly.
4) Organizing your handin directory and submissions correctly.

Problem

1) First, the program will print the programming assignment number, your name, and your class account, all on one line.

Your program is going to determine if an input number is prime.

Your program will prompt the user to enter a number of three to five characters in length. Your program will validate that the user has entered a valid base10 number.

If the user has not, your program will print an error message "Not a number." and re-prompt for the input again. Your program will then determine if the input number is prime.

If the number is prime, your program should output "The number XXXX is prime."

If the number is not prime, your program should output "The number XXXX is not prime."

If the user enters a number that is not at least three characters long, or longer than five characters you should print the following error message and reprompt for input: "Incorrect input length."

Attachment:- Assembly Language.rar

Verified Expert

Assembly code is used to implement the program for finding the prime number inputted by the user and it is basically implemented to run in edoras and X86 emulator which are basically used as machine code and can run using the extension .s,.asm,.65s and all the systems having these types of emulator can run this code

Reference no: EM132161725

Questions Cloud

Describe the pathophysiology of complications of bronchitis : Tammy is a 33-year-old who presents for evaluation of a cough. She reports that about 3 weeks ago she developed a "really bad cold" with rhinorrhea.
Generate an html website design : Do you know of any templates I can use to generate an HTML website design? I want to be able to add text, and photos.
Difficult for insurers to identify when initially reported : Which kinds of workers compensation claims are the most difficult for insurers to identify when initially reported?
Discuss the scenario in relation to hipaa : In the body of the paper discuss the scenario in relation to HIPAA, legal and other regulatory requirement that apply to the scenario and the ending you choose.
Developing a solution to the problem : The program will print the programming assignment number, your name, and your class account, all on one line - Your program will then determine if the input
Lundgren means by showing you are hungry for position : Explain what Lundgren means by showing “you're hungry” for a position. Describe ways in which you can show hunger in a positive way
Describing the effective use of patient-care technologies : Write 3-4 pages describing the effective use of patient-care technologies, communication systems, and information systems across the care continuum of a health.
Other companies to model regarding supply chain integration : Do you feel that Amazon sets an example for other companies to model regarding supply chain integration?
Problem affect productivity and profitability of business : How does this problem affect the productivity and profitability of a business?

Reviews

Write a Review

Other Subject Questions & Answers

  Write justification for each in terms of crime-fighting

Using information and descriptions of the technologies presented in this chapter, select and prioritize ten new technologies that you believe your agency should obtain, and write a justification for each in terms of its crime- fighting capabilitie..

  Find an example of an actual data warehouse

Find an example of an actual data warehouse. For this example, describe the content, purpose, user access methods.

  Which product contains the most total calories

Which product contains the most nutrients that are not as healthy for the body in large amounts? Which product is a healthier choice? Explain why you picked the product that you did in question 5. Your answer should be in paragraph format and should..

  Determine the requirements for performance and breach

Great Buys is an internet-based company headquartered in New York that sells household electronics to consumers in the United States.

  What an annotated bibliography looks like

Please read Annotated Bibliography.pdf for an overview on annotated bibiographies. Click here for an example of what an annotated bibliography looks like.

  Discuss why nurses be interested in learning about ebp

Provide an example of each one and the reason for the difference. Why should nurses be interested in learning about EBP

  Explain what role the media might play

Identify an official actor, an unofficial actor, and an interest group; then, analyze how power will affect agenda setting for a particular policy of your choic

  Prepare a summary of your findings and post to your journal

Use the NIMS Resource Center website for guidance and assistance. Prepare a brief summary of your findings and post to your journal. Name your journal entry 6-3: Emergency Preparedness.

  What does the publics ability to adapt to challenges have

What does the public's ability to adapt to challenges have to do with the recruitment of new board members?

  Explain the courts reasoning in deciding the case

The Bretons are sought to cancel the Agreement of Sale of a leasehold interest and for damages.

  A new blood test has been developed to screen for disease

A new blood test has been developed to screen for disease Z. Researchers establish 50 units as a cut point above which a test is considered positive and thereby indicative of disease.

  Distinguish document with flood narrative found at genesis

Write the essay comparing and contrasting this document with flood narrative found at Genesis 6:1-9:22. In formulating the thesis statement/main argument.

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