#Homework for June 18, 2013
##Calculator 1 Create a command line calculator. It should have a basic and advanced mode.
basic calculator (+, -, *, /) advanced calculator (exponents, square root)
For a basic calculator, press 1.
Array, hash or string | |
In documentation, you're likely to see a has listed as hash. Arrays will often be called a. Keys will often be listed as k. | |
m + n | |
Array, hash or string | |
In documentation, you're likely to see a has listed as hash. Arrays will often be called a. Keys will often be listed as k. | |
m + n | |
9:15 Homework | |
10:00 Arrays | |
10:30 Break | |
10:40 Loops | |
12:15 Lunch | |
1:15 Hashes | |
2:45 Break | |
3:00 Lab | |
9:15 Homework | |
10:00 Arrays | |
10:30 Break | |
10:40 Loops | |
12:15 Lunch | |
1:15 Hashes | |
2:45 Break | |
3:00 Lab | |
#Homework for June 18, 2013
##Calculator 1 Create a command line calculator. It should have a basic and advanced mode.
basic calculator (+, -, *, /) advanced calculator (exponents, square root)
For a basic calculator, press 1.
#Homework for June 18, 2013
##Calculator 1 Create a command line calculator. It should have a basic and advanced mode.
basic calculator (+, -, *, /) advanced calculator (exponents, square root)
For a basic calculator, press 1.
This is a block of text | |
#!This is a block of code | |
This is a github highlighted codeblock | |
# |
First, check to see if the folder that you want to create already exists using 'ls'.
ls
pushd pwd mkdir clear (cmd+k) cat