Create four modules with the last one being a programmer

Assignment Help Computer Engineering
Reference no: EM132117172

This is the question

One foot equals 12 inches. Design a function named "feettoinches" that accepts a number of feet as an argument, and returns the number of inches in that many feet.

Use the function in a program that prompts the user to enter a number of feet and then displays the number of inches in that many feet.

This can be written in psuedocode

This is what I need to do and I am a little lost

1. Create four modules with the last one being a programmer created type Function type module.

2. The first module is the Main Module. It DECLARES a local variable of type Integer and calls the second and third module.

3. The second module DISPLAYs a question for the software user requesting the number of feet and INPUTs the answer

4. The third module DECLARES a local variable used to store the result returned by the function in the fourth module and uses the word SET followed by the local variable to call the function passing a parameter of the variable name used represent the number of feet, it also DISPLAYs the function's returned result.

5. The last module is a programmer created function. It DECLARES one local variable and uses a formula to converts feet to inches.

Reference no: EM132117172

Questions Cloud

What is the covariance between stock a and the market : Assuming a standard deviation of the market of 20%, what is the covariance between stock A and the market?
How many items you sold per month approximately : When did you start to use this system, if yes, how long have you been using this? How many Items you sold per month approximately?
Calculate the taxable income and net tax payable : TAXA3007 ELEMENTARY AUSTRALIAN TAXATION LAW CASE STUDY ASSIGNMENT - CURTIN UNIVERSITY, AUSTRALIA. Calculate the taxable income and net tax payable
Return on your investment in gdl stock : If you bought the company at the beginning of the year and then sold it at the end of the year.
Create four modules with the last one being a programmer : Design a function named "feettoinches" that accepts a number of feet as an argument, and returns the number of inches in that many feet.
What is your total return on investment : You buy a share of ABC stock today for $29.30. One year later, the stock pays a dividend of $1.90 and you sell the share for $31.60.
What is the global cpi of each implementation : Which implementation of P1 and P2 is faster? What is the global CPI of each implementation?
What is the expected price of the stock next year : The stock just paid a dividend of $1.55 per share, and investors require a return of 12% to invest in the company.
Why is it theoretically possible with segmentation : In a system that uses paging, a process cannot access memory that belongs to another process. Why?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Questionthis problem supplies a arithmetical example

questionthis problem supplies a arithmetical example encryption using a one-round version of des. we start with the

  Preparing a copy of hard drive

After we have the target media prepared and assembled along with all our tools assembled for investigation we should now make a copy of hard drive.

  Describe some malware countermeasure elements

Describe some malware countermeasure elements. List places malware mitigation mechanisms may located. Briefly describe four generations of anti-virus software.

  Describe what hacking of memory or hacking of ram means

Describe what hacking of memory or hacking of RAM means. Examine the common tools that hackers use to hack into memory of computing devices. Detail two (2) real-life examples of such tools in action.

  How well would bidirectional search work on this problem

How well would bidirectional search work on this problem? What is the branching factor in each direction of the bidirectional search?

  What is the itsec

What is the meaning of CIA triad in Information Security.What is the difference between Symmetric and Asymmetric Key Cryptography

  Why term would be important and relevant in the design

For each of the following items, explain what the term refers to and why it would be important and relevant in the design of a practical programming language.

  Make an entity-relationship model representing the data

The manager for the Clearwater Traders wants to gather the following data for each order placed by a customer: customer's name and address, item ordered, quantity of each item, item's size or color if applicable and retail price of each item.

  What will be some risks and opportunities

Read the article "The Top 20 (Plus 5) Technologies for the World Ahead" by James H. Irvine and Sandra Schwartzbach, discuss the key findings you believe have implications for the business world. Do you agree with the authors.

  How can you start business by mobile application development

Discuss the UIKit framework in IOS and the different classes associated with it.How can you start business by Mobile Application Development ?

  What is printed by the given program

What is printed by the following program? Suppose the input is the following: Miller 34 340 #include #include using namespace std; const int PRIME_NUM = 11; int main () { const int SECRET = 17; string name

  Create an application that reads the contents of the file

Create an application that reads the contents of the file into an array or a List. The application should then let the user enter a charge account number.

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