Skip to content

Instantly share code, notes, and snippets.

@HoeenCoder
Created August 7, 2019 21:49
Show Gist options
  • Save HoeenCoder/dc1b95d73397306a9b853681e91edf50 to your computer and use it in GitHub Desktop.
Save HoeenCoder/dc1b95d73397306a9b853681e91edf50 to your computer and use it in GitHub Desktop.
Pokemon Showdown & JavaScript Class Post-Stream Assignments
/*
* Pokemon Showdown & JavaScript Class
* Day 2 - Basic Data Types
* Post-Stream Assignments
*
* This assignment sheet will give you a chance to work further with booleans,
* strings, numbers, variables, and some of the things you can do with them.
* If you want me to review what you have done for errors, fill this info out
* before sending me a copy (you can make gists too if you have a github account).
*
* * = required
* Discord Tag*:
* Pokemon Showdown Username (if any):
* Twitch Username (if any):
*/
'use strict';
/*
* 1. Use JavaScript to solve the following math questions, and print the solution to
* the terminal in the format:
*
* The solution for QUESTION is: ANSWER HERE.
* (dont forget the period)
*
* Two plus Seven
* Eight times Eleven
* Five minus Fourteen
* Eighty dividied by Nine
* Four times Six plus Eighteen
* The quantity Twelve minus Two divided by Five
* Fifteen plus Four divided by Six minus Fourty-Two
* The quantity Fifteen plus four divided by the quantity Six minus Fourty-Two
*/
/*
* 2. Create a variable called x and solve the following math questions
* with x set to 3 different numbers of your choosing.
* When you change x's value, be sure to log that x's value changed (and what it changed to)
* in the console. Log the answers in the same way you did in the last question.
*
* x plus Seven
* Six Hundred and Fifty minus x
* The quantity x minus Seventy-Eight times Nine
* x times One Hundred and One divided by Four
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment