Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Speci cations . / / Speci cation C 1 - const Conversions Use consts when converting your units of measurement. Make sure you use the

Specications.
// Specication C1- const Conversions
Use consts when converting your units of measurement. Make sure you use the appropriate ALLCAPS naming convention too. Its OK to make these global variables.
// Specication C2-5 year ocean rise
Compute how much the oceans will rise each year over the next 5 years. Display each years results.
// Specication C3-5 year temp
Compute how much the mean July temperatures will increase over the next 5 years each year. Display your results.
// Specication B1- Mixed length output
Display your output in both inches and mm.1 mm =0.1 cm =0.03937 inches. Note: This conicts with the output in the picture, follow this. Store your conversion factor in a constant variable MM2IN. Use the appropriate style for constants.
// Specication B2- Mixed temperature output
Display your temperatures in both C as well as F. Store the conversion factor in the constant variable F2C and make sure the style is appropriate.
// Specication B3- Auto Heading Function
Create a function called autoHeader. This void function takes a string and displays it in all caps as a title. It then, emits a newline and displays = underlining each letter in the title. Do not send an all caps string, nd the library function which will convert to uppercase for you. You may be wondering how to automatically underline the title.
// Specification A1- Ocean Rise Table
Create a table, similar to the one in homework 2, which holds the 5 year ocean rise, in both mm and inches. Display this table (wouldnt it be great if you could create a couple of functions to do this and then copy them from homework to homework?).
// Specification A2- July Temp Table
Construct a table similar to the one in specification A1, include column for both celsus and fahrenheit.
// Specification A3- One Function
Include at least one function in your program. Put this specification comment above your function prototype(s).

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago

Question

2. Discuss the types of messages that are communicated nonverbally.

Answered: 1 week ago