You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this exercise is to introduce you to the concept of objects and classes. These are fundamental building blocks for OOP (Object Oriented Programming). You shouldn't need to write a ton of new code, in fact you can re-use your solution from the Simon Says exercise!
2
+
3
+
The key here will be rewriting certain bits of it to work within the class given to you.
The goal for this exercise is to create a calculator that does the following:
2
+
3
+
add, subtract, get the sum, multiply, get the power, and find the factorial
4
+
5
+
In order to do this please fill out each function with your solution. Make sure to return the value so you can test it in Jasmine! To see the expected value
6
+
take a look at the spec file that houses the Jasmine test cases.
Pig Latin is a children's language that is intended to be confusing when spoken quickly. Your job for this exercise is to create a solution that takes the words given and
2
+
turns them into pig latin. Please see the following wikipedia page for details regarding the rules of Pig Latin:
3
+
4
+
https://en.wikipedia.org/wiki/Pig_Latin
5
+
6
+
The rules section will give the rules and the examples that are required to complete this exercise.
0 commit comments