Saturday, January 17, 2015

Fizz Buzz using Java and recursion

My very first little program in Eclipse :) It's honestly kinda the same as the C# would be, except printing is different. Very fun though! I am so excited to work in Java too now. Seeing things work without errors makes me very, very happy!!! :D public class Puzzle { int i = 0; public void fizzBuzz() { i++; if (i...

Thursday, January 15, 2015

Setup Eclipse & Java Environment (PATH & JAVA_HOME)

1. Java JDK 8: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html You can either install everything from Java JDK or skip the 3rd option (end user Java). If you don't know what I mean,...

Reverse String (C#)

Reversing a string using an array method (not doing the obvious Array.Reverse); method, it is more fun to do it with a loop! Also incorporated the addition assignment operator (+=). public class ReverseString ...

Monday, January 12, 2015

Input/Output Line Count Puzzle

Files and Directories on disk puzzle: Given an input directory that is passed into the method (For example: C:\work\input_files). There will be n text files in this directory. For simplicity, all text files will end...

Fizz Buzz (C#)

Fizz Buzz Puzzle "Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both...

Thursday, January 8, 2015

Legends Boxing

I am excited for the new boxing gym I have joined and for the opportunity to help them out with some web design! I chose a simple responsive Twitter Bootstrap design so it is easily accessible from desktop, tablet,...

Monday, January 5, 2015