Design and write a program

Assignment Help Programming Languages
Reference no: EM13768500

Functions

In this homework, you will design a program to perform the following task:

Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.

There are 4 components of your submission including:

Program Description- A detailed, clear description of the program you are building.

Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about how your design will allow any number of students and final grades to be possible inputs.

Test plan - Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)

Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project

All of these components should be placed in word document for submission.

Example application test data:

Test Case # Input Expected Output

1 Length =4.0, Width=8.0 Area = 32

Perimeter = 24

2 Your input data Your expected output

3 Your input data Your expected output

Reference no: EM13768500

Questions Cloud

Problem related to the multinational corporation expansion : Imagine that you are a senior business manager for a U.S.-based multinational company. You have been informed by your supervisor that your Company needs to consider expanding into a new international market to seek new opportunities.
Explain the mental state of the offender : Explain the mental state of the offender and the 2 most likely mental illnesses that are affecting him. Explain what type of medical personnel you would like to have at the scene, and why
Analyze federal express value creation frontier : Analyze Federal Express value creation frontier, and determine which of the four building blocks of competitive advantage the company needs in order to continue to maintain above-average profitability. Provide a rationale to support the response.
Health concerns associated with with plastic bags : Discuss any two commonly used electronics and how to reuse or recycle as an attempt to reduce the E-waste.
Design and write a program : Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.
Calculate the expected amount of income before interest : Calculate the expected amount of income before interest and taxes for both a 10 percent decrease and a 10 percent increase in net sales for next year.
Hazards associated illnesses predominate in professional : Compare and contrast the current methods for treating sewage from those that were used in the Middle Ages? Historically speaking, what factors spurred the development of today's sanitary sewage systems? Describe the stages for processing sewage.
Explain how would you determine who your audience is : Provide some tips that you plan to use for effectively presenting your research findings and proposed solution to your specific audience. How would you determine who your audience is
What is the cleveland clinics overall strategy : What is the Cleveland Clinics overall strategy for improving value for patients? Identify the critical components and their rationale in each area

Reviews

Write a Review

Programming Languages Questions & Answers

  Design a pseudo code to create the program

Design a pseudo code to create, debug and execute the program. The documentation should include your name, course, program name, due date, programming language used

  What is java adapter class

What is Java adapter class.

  Linux directory log

Linux Directory Log, Directions: As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and if you experience any errors. Record the occurrences in the following matrix.

  Extend the user management

Extend the user management so that user can be stored in database - user can be administrator and he can access that admin page

  Creating a software package for amazon

Suppose you are creating a software package for Amazon.com that needs users to enter their own passwords. Your software requires that users' passwords meet the following criteria:The password should be at least six characters long.

  Brief explanations for the solutions in the ms word file

You have a server-side script that cannot handle any ampersands (&) in the form data. Write a function that converts all ampersands in a form field to " and " when the field loses focus (onblur).

  Write program to decodes messages using caesar cypher

Write a program which decodes messages. Messages will be encoded using Caesar cypher, with each letter being decoded by replacing it with the previous letter in the alphabet.

  Write program which permits the user to enter students name

Write the program which permits the user to enter students' names followed by their test scores and outputs following information (suppose that maximum number of students in class is 50)

  Write an interactive prolog program

Write an interactive Prolog program in which a user enters a positive integer and then displays the power of 2 to that number. For example, if the user enters 4, the program calculates the power 2.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Write program that asks user for two digit number

Write program which asks user for two digit number and then prints English word for that number. Sample run: Enter a two-digit number: 45

  Provide a brief description within comment tags

Produce a description of the modules you have studied so far on this degree in an HTML5 file and an external CSS file that will display

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