(no subject)

Nov 17, 2006 00:38

so ive been having fun on my new facebook. found so many ppl from a long time ago and stuff. wicked cool.




anywho, lets see what to talk about in my life. im starting/trying to get over that person. i realized (kinda late) that it was leading me nowhere except more longing and rejection and i was getting really depressed about it. i understand now the entire time they only wanted to be friends and i was definitely trying too hard to be more than that. and for that im sry bc it made things weird for me. so im desperately trying to let go and just focus on absolute and less emotionally-draining things. school seems to be a good thing. i think i'll just delve into my studies, leaving absolutely no time to do any of that other stuff that poets/scholars/philosophers/lovers have for eons lamented about. that way, i wont have to deal with it. as a matter of fact, i might just stay that way for most of my life. i really dont think im ever going to get anywhere with anyone, so i may as well take advantage of that and just be productive in other ways. i can always have a lot of pets that i can lament about. :-) life's just way too short i realize to spend so much attention on something seemingly trivial like these feelings. and of course i know that when i write this someone might possibly repsond refuting or disqualifying anything ive said. and i really dont care bc im holding to my thoughts. i guess i could just put this private, but then whats the point of even accepting friends on lj if u cant let them see into ur life every once in a while? cant make everything private...

so here i am, being a douche once again, staying up at 12:30 (now) to do nothing proudctive. ya know, thats kinda ironic considering the fact that i just said i was going to devote my life to "just be productive in other ways." oh well. i know my limit. i think i'll write a little more.

took an online test today for ap cs a. did pretty well. haha i spent way too much time on a very simple program (20 minutes when i really only needed like 5). i think ill attach the program, just for fun.


import java.util.Scanner;

class Theatre
{
//instance variables
private String myTheatreName;
private String myShowName;
private int myAdults;
private int myChildren;
private double myCost;

//constructor
Theatre()
{
myAdults = 0;
myChildren = 0;
myCost = 0;
}

void setNumAdults(int adults)
{
myAdults = adults;
}

int getNumAdults()
{
return myAdults;
}

void setNumChildren(int children)
{
myChildren = children;
}

int getNumChildren()
{
return myChildren;
}

void setTheatreName(String name)
{
myTheatreName = name;
}

String getTheatreName()
{
return myTheatreName;
}

void setShowName(String show)
{
myShowName = show;
}

String getShowName()
{
return myShowName;
}

double getCost()
{
return ((myAdults * 16.50) + (myChildren * 12.50));
}

}

public class TheatreTest
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);

Theatre place = new Theatre();

System.out.print("Welcome! Enter the name of the theater: ");
String name = in.nextLine();

place.setTheatreName(name);

System.out.print("Enter the name of the show: ");
String show = in.nextLine();

place.setShowName(show);

System.out.print("Enter the number of adults attending: ");
int adults = in.nextInt();
place.setNumAdults(adults);

System.out.print("Enter the number of children attending: ");
int children = in.nextInt();
place.setNumChildren(children);

System.out.println();
System.out.println("Your ticket:");
System.out.println("Welcome to " + place.getTheatreName() + "!");
System.out.println("Thank you for seeing " + place.getShowName());
System.out.println("Adults: " + place.getNumAdults());
System.out.println("Children: " + place.getNumChildren());
System.out.printf("Cost: $%.2f", place.getCost());
}
}

it was pretty simple just kinda extensive. maybe next time i will actually read the directions and avoid doing too much work. oh well. no use in crying over spilled apple juice. i think im slowly coming to my senses and am going to end my procastinary attitude and perhaps go to bed. ta-ta self! sleep well!
Previous post Next post
Up