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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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