Calculates the area and perimeter of a rectangle

Assignment Help Other Subject
Reference no: EM13253988

1. Write a program that calculates the area and perimeter of a rectangle from a user supplied (scanf) length and width.

2. Assume that the values supplied by the user in part (1) above are in inches, recalculate and display the following:

a) area of the rectangle (in square centimeters)

b) perimeter of the rectangle in centimeters

Note : There are 2.54 centimeters per inch

Reference no: EM13253988

Questions Cloud

Hydrogeologists classify contaminants as floaters-sinkers : Hydrogeologists classify contaminants as “floaters” or “sinkers” based on where the non-aqueous phase (“free product” or undissolved organic contaminants) reaches equilibrium in groundwater. Classify each of the following based on their density
Department of transport : Sketch a DOT (Department of Transport) placard, including UN/NA identification number, for tanker trucks containing each of the following hazardous materials.
Describe a real-world scenario : Describe a real-world scenario where disaster communications has been used, either from the case studies described in the book or from your own experience or knowledge.
Floating settlement rates : Floating (LIBOR) settlement rates were 8% at inception and 9%, 7%, and 7% at the end of 2011, 2012, and 2013, respectively. The fair values of the swap are quotes obtained from a derivatives dealer.
Calculates the area and perimeter of a rectangle : Write a program that calculates the area and perimeter of a rectangle from a user supplied (scanf) length and width.
A stream containing : A stream containing 60 mol% methanol and 4() mol% 1-pentanol is being separated in a flash drum at 90 degree C and with a feed flow rate of 100 mol/s. Generate a Pxy diagram for the mixture using Raoult's Law.
Feminist theories argue that women commit crime : Feminist theories argue that women commit crime based on various factors in society. Discuss why you think that women commit crime and if it is really such a large gap between men and women in committing crime.
Increasing pressure to be accountable for its patient charge : Shirtz Community Hospital has been under increasing pressure to be accountable for its patient charges. The hospital's current pricing system is ad hoc, based on pricing norms for the geographical area; only direct costs for surgery, medication, and ..
Luminosity of the sun is equivalent to measuring the rate : Measuring the luminosity of the sun is equivalent to measuring the rate at which the nuclear reactions produce energy in the core of the sun. But we think we know exactly how those reactions work:

Reviews

Write a Review

Other Subject Questions & Answers

  Legal arrest

Discuss what you learned from the reading and how it differs, if at all, from the conditions you had believed must be present for a legal arrest to occur.

  Cellular service provider decides to use digital tdma scheme

A cellular service provider decides to use a digital TDMA scheme which can tolerate a signal-to-interference ratio of 15 dB in the worst case. Find the optimal value of N for

  Modern challenges in immigration

As a member of the immigrant group that you selected, was it easy or difficult for you to navigate the USCIS website and find the information that you need to apply for entrance to the US? Please explain what you observed. Include specific informatio..

  Discuss the adversarial system

Examine the sources and purposes of criminal law. Identify and explain jurisdiction to create and enforce criminal law. Discuss the adversarial system and standards of proof in criminal cases.

  Summary of the play a raisin in the sun incorporating

Write a short summary of the play A Raisin in the Sun incorporating the main points. Was it comedy or tragedy? What feelings does the play evoke? What ideas does the play express and what values does the play endorse as far as beliefs and attitudes?

  Needs triggered by marketing efforts are unethical

It is true that a perceived need can be as simple as noticing an empty container. It can also be activated by marketing efforts. Do you think needs triggered by marketing efforts are unethical? In other words, should (or even can) marketers trigger a..

  In what ways do the media overdramatize crime

You are newly assigned to the detective bureau within your police department. You and your partner, who has been on the force for almost 10 years, of which 7 have been as a homicide investigator, have just been dispatched to a suspicious death.

  Investigating a social issue

Describe how your issue fits into the field of sociology. Find out the sociological theories and terminology from the text that apply to your social issue.

  Which medium to use to communicate

When deciding which medium to use to communicate, the authors of your textbook remind you that ________.

  What cost cutting measures are proposed

For purposes of our discussion, either discuss recent federal legislation passed via The Affordable Care Act or discuss cost cutting measures to Medicare/ Medicaid proposed by the state in which you reside.

  Property of an ionic compound

Which of the following is a typical property of an ionic compound?

  What effects both negative and positive

What effects, both negative and positive, did 9/11 have on the private sector? How did 9/11 change their attitude toward preparedness?

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