Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do In Irvine32 MASM Problem Definition: Write a program to convert miles to kilometers and Fahrenheit to Celcious. - Display the program title and programmer's

Do In Irvine32 MASM

image text in transcribedimage text in transcribed

Problem Definition: Write a program to convert miles to kilometers and Fahrenheit to Celcious. - Display the program title and programmer's name. Then get the user's name and greet the user. - Prompt the user to enter the distance in miles that they want to convert and then prompt them to enter the temperature that they want to convert in Fahrenheit. - Convert and display the user values and the converted values. - Display a parting message that includes the user's name and terminate the program. Requirements: 1) The programmer's name and the user's name must appear in the output. 2) The main procedure must be modularized into at least the following sections (using labels): a. introduction b. getUserData c. convertToKM d. convertToCelcious e. displayConvertedData f. farewell 3) The program must be fully documented. This includes a complete header block for identification, description, etc., and a comment outline to explain each section of code. Notes: 1) For the conversions assume that 1 mile =1.60934 kilometers, and the formula to convert the temperature from Fahrenheit to calcious is C=5/9(F32) Example (user input in italics): Distance \& Temperature Unit Conversion Programmed by Leonardo Pisano Hi, what's your name? Joanne Hello, Joanne Enter the distance in miles that you want to convert in kilometers: 50 Now enter the temperature in Fahrenheit that you want to convert in Celsius: 14 The conversion of 50 miles in kilometers is: +8.0467000E+001 The conversion of 14 degrees Fahrenheit in Celsius is: 9.9999000E+000 Results certified by Leonardo Pisano. Goodbye, Joanne. Extra-credit options (original definition must be fulfilled): 1. Implement more conversions. 2. Do something incredible. To ensure you receive credit for any extra credit options you did, you must add one print statement to your program output PER EXTRA CREDIT which describes the extra credit you chose to work on. You will not receive extra credit points unless you do this. The statement must be formatted as follows... --Program Intro-- EC : DESCRIPTION --Program prompts, etc

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_2

Step: 3

blur-text-image_3

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

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

What is CRUD? Why is this useful?

Answered: 1 week ago

Question

In your own words, summarize the primary objectives of unions.

Answered: 1 week ago