Do Programming Challenges #1, 2, and 3 on pages 211-212

Do Programming Challenges #1, 2, and 3 on pages 211-212

Put your solutions in a folder lab5, zip it and submit it

Use the following PC_3-1.html PC_3-2.html PC_3-3.html

Function getAlert for PC_3-2.html

1. Save it as number1.html

NOTE: the formula for conversion from Fahrenheit to Celsius is incorrect in the book.

It should be Fahrenheit = (Celsius * 9/5) + 32

First prompt the user for C or F (whether the temperature will be input as Celsius or Fahrenheit)

Then prompt the user for the temperature, and display the converted temperature followed by either a C or F.

For example, the first prompt :”Will the temperature be input in Celsius or Fahrenheit? Enter C for Celsius, F for Fahrenheit”

Second prompt: “Enter the temperature to be converted”

If the user entered F and 32, the output would be: 32 degrees F = 0 degrees C

2. You can add code to number1.html so you don’t need a separate file for this. After you have output the converted temperature, then put one of the comments on the page . In the example I gave (temp of 32 degrees F) you would write “Pretty cold with a chance of snow” You will need to write nested if statements for this part. Save as number2.html.

3. Again, nested if statements. Save in the Chapter3 folder as number3.html

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Benefits of our college essay writing service

  • 80+ disciplines

    Buy an essay in any subject you find difficult—we’ll have a specialist in it ready

  • 4-hour deadlines

    Ask for help with your most urgent short tasks—we can complete them in 4 hours!

  • Free revision

    Get your paper revised for free if it doesn’t meet your instructions.

  • 24/7 support

    Contact us anytime if you need help with your essay

  • Custom formatting

    APA, MLA, Chicago—we can use any formatting style you need.

  • Plagiarism check

    Get a paper that’s fully original and checked for plagiarism

What the numbers say?

  • 527
    writers active
  • 9.5 out of 10
    current average quality score
  • 98.40%
    of orders delivered on time
error: