Latest Entries »

Computation of Area and Volume using C#.net

—-form———–
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Cone
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
double side, height;
double radius, area;
double volume;
classComputation a = new classComputation();

try
{

side = Convert.ToDouble(txtSide.Text);
height = Convert.ToDouble(txtHeight.Text);
radius = Convert.ToDouble(txtRadius.Text);

area = a.computeArea(radius, side);
txtArea.Text = area.ToString();
volume = a.computeVolume(radius, height);
txtVolume.Text = volume.ToString();
}
catch (FormatException ex){
MessageBox.Show(“Invalid Input!”);
}

}

}
}

—-class———

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cone
{
class classComputation
{
public double computeArea(double r, double s)
{
double pie = 3.1416;
double a;

a = pie * r * s;
return a;

}

public double computeVolume(double r, double h)
{
double pie = 3.1416;
double v;

v = pie * 1/3 * Math.Pow(r, 2) * h;
//nv = Math.PI * 1 / 3 * Math.pow(nr, 2) * nh;
return v;

}
}
}

False-True

Is it true that we’re having a rice shortage?

Our governments are just only over-acting in this situation. In the administration side, they said that we’re really having a dilemma in our rice support but on the other side the opposition keeps in mind that it was just a play of our administration.

In one news that I’ve seen in TV, the UN’s (United Nation) list of countries that having a rice shortage or also having an economic crisis was shown in but our country Philippines wasn’t listed their. Does UN doesn’t believe that we we’re suffering an economic crisis?! But why our government was keep on insisting that we were lack of rice support that many possible will happen that a year from now we will ask some rice support to the other country.

Before this rice shortage issue, do you remember the late issue that caught the attention of all people? If you already forget about it, it was the ZTE scandal in which the star witness was Jun Lozada. I bet you remember those issues. This man was fighting against our government, especially the officials including our president.

Don’t you think the government only used the rice shortage issue to cover or get the attention of all people away to the issue that strikes to them directly?! Or you think that it was just a coincidence?! Only you guys can determine your answer but for me as a citizen in this country they better stop doing those things. Making stories are just putting your souls to hell instead they must do their task in making our country a better place to live of.

Some issues today are all False True. Covering or telling something to hide the real answers of their real intentions.

quotes…..

there were many things that happen in our life!
and during those moments that we’ve encountered the trials and some happy
moments we can have some inspiring qoutes that we can relate in our life!

it’s been my hobby in collecting and making my own qoutes!

these are some of my qoutes that i really like the most….

…..”Moving On” is a difficult part in our life but once we’ve Moved On, we can
be a better person than we were yesterday!

…..Love that has been tested is far more inspiring than
Love has never known anything but Bliss!

….Don’t look for someone whom you have no problems,
but one you are good at overcoming problems with!

….It’s wrong to keep on expecting, especially if the situation says things
aren’t just meant for you.
but are you to be blamed when someone just keeps on making you feel things
are right?!

….We can’t beg someone to stay when he wants to leave and be with
someone else.We have to admit that love doesn’t give us license to
own a person.
‘coz Sacrifice is what Love means!

“Unexpected”

Sparrow fell in love with a flower,

Black horse become a star,

Ugly turns pretty and

Best friends become lovers.


Unexpected things easily happen,

Just a wink of an eye

All impossible things become possible

Especially in the name of LOVE.


People don’t have the same likes

Attracts the most.

That’s what we said:

“Opposite attracts”.


From the moment I met him,

I never knew he’d be mine.

Just a friend of mine that

Become my best friend.

That I shared all my hurt

Feelings, my first heartbreak

And my happiness turns to be

My ultimate soul prince in my life.


I can’t believe that the boy

Where I always run to when I

Have problem,

Is the man whose I’m going with.

The person that I always throw

A crap and shook his head when

I’m overjoyed,

Is the man who comforts and gives me reason to smile.

That simple best friend who

Always understands me

Becomes the greatest

Part of my life.


Unexpected things comes easily

Without knowing.

“I wish it was you”

The moment I wake up

It was you who make-up

My mind and

Your sweetest smile

I can’t wait to see.


Everyday I wish that

You’re on my side,

Everyday I wish that

You were mine and

Everyday I pray that

I wish it was you.


You’re just a friend of mine

But you struck my heart.

My heart that was solemn

From the day it was broken.

You bring back the beat

Of my heart.


You bring back the pulse

Of my nerve and

You bring back my life

From my grave.


I’ve been emotional for 7months

But in that every month

You were on my side.


I can’t even think

That I was fallen,

Fallen to the man that I

Treasured as friend,

And the man that was with

Me even when I was

With somebody.


I wish it was you

Who will make the last song

For my life,

The last scene of

My story, and

Be the last man I ever

Wanted.

“EMO”

Looking at nowhere

With tears in my eyes.

Swinging in the tune of melancholy,

Right at my graveyard.


I’m despise and astound,

I feel that I wanted to surrender

But life must still go on.

They say I’m firm,

They say I’m numb,

They never care what happened to me,

They never knew I was hurt.


I never thought I’d feel this way,

Crying on the other side of the corner,

Grieving and groaning.

Finding myself still at nowhere.

Looking at nowhere

With tears in my eyes.

Swinging in the tune of melancholy,

Right at my graveyard.


I’m despise and astound,

I feel that I wanted to surrender

But life must still go on.

They say I’m firm,

They say I’m numb,

They never care what happened to me,

They never knew I was hurt.


I never thought I’d feel this way,

Crying on the other side of the corner,

Grieving and groaning.

Finding myself still at nowhere.

“FORGO”

I try to run away from you

But all I can see is your face,

I try to hide

But your voice is all I hear,

And as I close my eyes

I see your sweetest smiles.


I want to get rid of you

I want to forget your façade

I want to buried my memories’

With you.

All I want to do is to kill

My love for you.

“What is Love?”


What LOVE is all about?

What’s with the word LOVE?

Was that so called – LOVE applicable to all?

Some says LOVE is BLIND but for me it’s a big fallacy, it’s not the LOVE who was blind but it was the LOVERS. It was the LOVE who ruined the life of the two young lovers ROMEO and JULIET. Their love was really against all ODDS, they were so BLINDED in different ways, in being a stupid and fulfilling. STUPID, in a sense that they’re being BLINDED by LOVE that leads to their DEATH. FULFILLING, in a way where they really fought for their LOVE and even DEATH cannot separate them apart.


LOVE is an extraordinary feeling that occurs to all people. It can change to other people’s perception, attitude, avocation, and mood.


LOVE really do conquers all, even if they are many walls building between, still LOVE will find it’s way to lead back where it belongs, for LOVE is just in the air. When it hurts you and will lead to heartaches, depressions, and stress, just learn to wait; it will just take time to heal the broken wounds. On the next move you can start into a brand new beginning, no more WORRIES, CAREFREE, and it would be SWEETER the second time around.

LOVE a PAINFUL and FRAGILE word. I’ve been FOOL in love, it hurt me many times, I just experienced a little bit of happiness and sweet time of it and then just one click it comes a big explosive heartburn that I cursed so much.


LOVE doesn’t bring happiness in my LIFE but disturbance in my studies and experience of SAD and TEARFUL moments. But in spite of it I’m HAPPY ‘coz it taught me to CARE and LOVE myself first before loving others and it open my eyes to the reality of LOVE.

We must not be fooled in its appearance, for LOVE is a deception WORD! Many suffered and died of this so called- LOVE!


LOVE is applicable to all, to experience what it is BUT never allow it to make you BLINDED in all things.

“Hoping your Mine!”


Early morning when I wake up

The warmth and cool breeze

Of the sunlight

Touches my face,

I urge and glimpse at my

Phone hoping that you’re

Name was there.


As I ride the car, my mind is

Gliding anywhere and

Keep on thinking ‘bout you,

Anticipating that you’re

On my side.


Every time I walk in the pathway,

I glance at the place

Where you like to hang-out.

As when I get closer

I see you smiling and

Wishing that smile is for me.

Powered by Blog.com