// Eloquent JavaScript

// Run this file in your terminal using `node my_solution.js`. Make sure it works before moving on!

// Program Structure
// Write your own variable and do something to it.

var name = "dexter"
console.log(name)
name = "Dexter P. Moran"
console.log(name)


//favFood = prompt("whats your favorite food?")
//alert("no way thats my favorite too!")


// Complete one of the exercises: Looping a Triangle, FizzBuzz, or Chess Board

var counter = 0 

while (counter < 100){
  if (counter % 3 == 0 && counter % 5 == 0)
    console.log("FizzBuzz");
  else if (counter % 3 == 0)
    console.log("Fizz");
  else if (counter % 5 == 0)
    console.log("Buzz");
  else 
    console.log(counter);
    
  counter += 1
}
    
  
  

// Functions

// Complete the `minimum` exercise.

function minCalc(num1, num2){
  
  if (num1 < num2)
    return num1;
  else if (num2 < num1)
    return num2;
  else 
    return "those are equal"
    
}

console.log(minCalc(1,5))


// Data Structures: Objects and Arrays
// Create an object called "me" that stores your name, age, 3 favorite foods, and a quirk below.
@@ -1104,8 +1104,118 @@
 k below.
+%0A%0Avar me %7B%0A  name: %22Dexter%22,%0A  age: 23,%0A  foods: %5Btacos, ramen, pulled pork%5D%0A  quirk: %22loves blue cheese%22%0A  %0A%7D

add 7.2