Monday, November 1, 2010

"The way you move is like a full on rainstorm, and I'm a house of cards...

You’re the kind of reckless that should send me running, but I kinda know that I won’t get far..." -Sparks fly, Taylor Swift

Okay, okay. You can wipe that grimace off your face. In my opinion, Taylor Swift can do no wrong, her lyrics are genius, and moreover, she's got a clean record (unlike the dozens of other musicians her age, who maybe could use come rehab, as Ke$ha puts it).

On another note, I'd like to put up my program for Repetition #6, before Andres kills me. So here you are:


% Declaration section
var mark : real
var meanOfMarks : real
var numberOfMarks : int := 0
var stop : string
var totalMarks : real := 0


% Processing section
loop 
    put "Enter mark : " ..
    get mark
    totalMarks := totalMarks + mark
    numberOfMarks := numberOfMarks + 1
    put "Mark count: ", numberOfMarks, " Total Marks: ", totalMarks
    put "More marks to enter (y/n) ?"
    get stop
exit when 
    stop = "n" or stop = "N"
end loop


meanOfMarks := totalMarks / numberOfMarks


% Output section
put meanOfMarks, " is the mean of all the marks."

-----------------------

Hope that helps. Just a random thing to ponder: do you ever wonder what music people are listening to when you see them with earphones?

I certainly do. My curiosity often extends to brooding upon the person's entire personality, and lifestyle, sometimes by careful observation of their overall manner and appearance. *Sigh* I can already hear some of you guys calling me a creeper.

 Well, I'm not. I'm just OBSERVANT. Come on, where would Google Earth be today, if they had backed down when accused of being creepers and spying/violating others' privacy through satellite? A lot more out of our faces...??? Oh, I suppose you DO have a point there...:S

That's all I really have to say today. 
Grace 

2 comments: