Professional Documents
Culture Documents
Test Celsius To Farenhite
Test Celsius To Farenhite
Directions:
Use this equation and the variables fahrenheit and celsius to print the Fahrenheit
equivalent of 12C.
Your Code:
/*
* F = C x 1.8 + 32
*/
console.log( 12*1.8 + 32 );
Directions: Test 2
Build a single string that resembles the following joke.
Your joke should take the format of a question and answer. The first line should be a
question and the second line should be an answer.
Hint: You will need to use special characters to produce the following output.
/*
* Programming Quiz: All Tied Up (2-5)
*/
var joke = " Why couldn't the shoes go out and play?\n\tThey were all \"tied\" up!"
console.log(joke);
Test 3
/*
*/
console.log(1 + 5 - 2);