Thursday, September 20, 2012

Starting my weight Loss Journey



So I want to loose about 30 pounds in the next two years. The problem with that is that I have been saying that for the past two years. -_-

The boyfriend and I... [yes Boyfriend; Im still waiting on my engagement being official in the traditional sense. I got to help pick out my custom setting... just waiting for good ol Dad to give his blessing.] Have decided that we like A-line and Mermaid/Trumpet style dresses. I want something A-line that will show off a sexy body/waist proportion and he has always invisioned his wife in a mermaid since he's seen them [ he thinks they are sexy].

I am not overweight, but my mom and I have agreed if I want to be even somewhat comfortable in a mermaid dress, i need to loose weight. At first I wanted to loose about 1- 20 pounds, but my mother's doctor said she needs to loose 30 as her weight and thyroid is affecting her health. I decided I would loose the 30 pounds with her.

So far I am using myfitnesspal (1200 calories a day) and exercising for times a week. My current weight is 147.949(or whatever the scale says) so I will just say 148. If i loose 30 pounds I will be 118. I loved my weight at 115, so I think at 118 I will be happy .

Are any of you trying to loose weight? If so we can encourage each other and keep each other updated.
By the way check out this post by nnyish on WeddingBee, it really motivated me.

Wednesday, September 19, 2012

Blog Reconstruction

Now that I am done using my blog for academic purposes, I can reclaim it to use for its original purpose! To  release all of my excitement and create lasting memories for me to look back on. For the next two years this blog will be decided to my life as a student, professional and [most excitedly] a future bride.

So once again let me give you the welcome from when I first created this blogspot..


Welcome to my blog! From here we will be flying first class, and at the highest altitude to ensure a smooth ride. Buckle up and enjoy the fun, especially the view during landing, from your window seat of course! From lift off to landing... I am happy to share this wild ride with you.

Wednesday, August 10, 2011

Assignment 10 Exercises for chapters 14 & 15

/**********************************************
*T'Nora Green
*Assignment 10, Chapter 14,  Exercise 4
***********************************************/


Part A:

import java.util.Scanner;

public class Division2
{
  public static void main(String[] args)
  {
    Scanner stdIn = new Scanner(System.in);
    double n;
    int d;

    System.out.print("Enter numerator: ");
    n = stdIn.nextDouble();
    do
    {
      System.out.print("Enter divisor: ");
      d = stdIn.nextInt();
    } while (d == 0);
    System.out.println(n / d);
  } // end main
} // end Division2 class

Part B:

import java.util.Scanner;

public class Division2
{
  public static void main(String[] args)
  {
    Scanner stdIn;
    double n;
    int d;
    boolean OK = false;

 while(!OK)
    {
      stdIn = new Scanner(System.in);
      try
      {
        System.out.print("Enter numerator: ");
        n = stdIn.nextDouble();
        
do
        {
          System.out.print("Enter divisor: ");
          d = stdIn.nextInt();
 } while (d == 0);
        System.out.println(n / d);
        OK = true;
      } // end try
      catch (Exception e)
      {
        System.out.println("Error!");
      }
    }
  } // end main
} // end Division2 class



/**********************************************
*T'Nora Green
*Assignment 10, Chapter 15,  Exercise 15
***********************************************/
Added Fragment:



System.out.print("Enter full pathname of file: ");
fileIn = new Scanner(new FileReader(stdIn.nextLine()));

while (fileIn.hasNextLine())
{
String file = fileIn.next();
numWords++;
}   //end of while loop

System.out.println("Number of words = " + numWords); 

fileIn.close();}  //end of try

Thursday, August 4, 2011

Assignment 9 Exercises for chapter 11, 12, 13

/**********************************************
*T'Nora Green
*Assignment 9, Chapter 11,  Exercise 11
***********************************************/

i= 5, factorial = 1


/**********************************************
*T'Nora Green
*Assignment 9, Chapter 11,  Exercise 12
***********************************************/

for(;!entry = q;)
{
System.out.println("Enter 'q' to quit: ");
entry = stdIn.nextLine();
}



/*********************************************
*T'Nora Green
*Assignment 9, Chapter 12,  Exercise 8
**********************************************/

a)     doIt(); calls the subclass's doIt method again, instead of calling the superclass's doIt; method,\ that creates an infinite loop that causes only a blank screen to show.


b) change doIt()to super.doIt()


/***********************************************
*T'Nora Green
*Assignment 9, Chapter 12,  Exercise 12
************************************************/

structural member \beam: inheritance
building \floor: composition
company \fixed assets: composition
employee\ salesperson:  inheritance
forest \tree: composition
bird\robin:  inheritance
class \method:  composition
neurosis\ paranoia:  inheritance



/*********************************************
*T'Nora Green
*Assignment 9, Chapter 13,  Exercise 3
**********************************************/

output:
sparky = bark, bark     lassie = Animal@4fe5e2c3
Press any key to continue . . .


how the output is generated:
The variable sparky was instantiated as a Dog, and Lassie was instantiated as an animal. When the JVM sees sparky inside the println statement, the JVM calls Dog's toString method. When the JVM sees Lassie inside the println statement, the JVM calls Object's toString method.

/*********************************************
*T'Nora Green
*Assignment 9, Chapter 13,  Exercise 8
**********************************************/

Dog lassie = (Dog) animals[0];
Cat fluffy = (Cat) animals[1];