Wednesday, 25 February 2015

Anne's 30 Year Computing Career (Part C) --> to be run as a Java program

// The "Annes_30Year_Computing_Career_PtC" class.
// Part C (final copy)
import java.awt.*;
import hsa.Console;

public class Annes_30Year_Computing_Career_PtC
{
    static Console c;           // The output console

    public static void main (String[] args)
    {
        c = new Console ();

    c.println ("We boarded a Greyhound bus bound for Toronto on December 9, 1990. "
   + "This was\n"
   + "a regular Toronto-bound bus that traveled east a total of 3 days and stopped at\n"
   + "8 different locations over the 3-day period.  We could get off the bus at\n"
   + "certain stops to eat and freshen up, but we had to sleep on the bus because\n"
   + "there was no extra time allotted for that.  So, 3 days later, we arrived in\n"
   + "Toronto feeling rather scruffy, both needing showers badly, and a good night's\n"
   + "sleep in proper beds.  My son thought of the whole trip as a great adventure,\n"
   + "and in tune with his cheery attitude, I did too.  I thought maybe one day in\n"
   + "the future, I might take a trip out west again, but next time, I would\n"
   + "definitely stop overnight at least 3 times along the way to sleep in a hotel.\n");
   c.println ("In Toronto, my son was picked by his father (with whom he was to stay in\n"
   + "Mississauga, Ont. for awhile) and I went to live at my girlfriend Gerry's place.\n"
   + "The reason I planned it this way is because, though I loved my family, I did not\n"
   + "get along with my father.  We'd always had a difficult relationship and things\n"
   + "had not gotten any better over the past 9 years of my absence.  On the other hand,\n"
   + "I was relatively close to my mother, but she'd always had to listen to what my father\n"
   + "wanted and he definitely didn't appear to want us to stay with them at all.  I could\n"
   + "live with that fact though; I was used to his ornery ways by now.\n");
   c.println ("(to be continued in Part D)...");

    } // main method
} // Anne_30Year_Career_in_Computing_PtC class

No comments:

Post a Comment