2

[B]UPDATED EMPLOYEE HANDBOOK[/B]

[B]DRESS CODE[/B]
It is advised that you come to work dressed according to your salary. If we see you wearing $350 Prada sneakers, and carrying a $600 Gucci Bag, we assume you are doing well financially and therefore you do not need a raise. If you dress poorly, you need to learn to manage your money better, so that you may buy nicer clothes, and therefore you do not need a raise. If you dress in-between, you are right where you need to be and therefore you do not need a raise.

[B]SICK DAYS[/B]
We will no longer accept a doctor's statement as proof of sickness. If you are able to go to the doctor, you are able to come to work.

[B]PERSONAL DAYS[/B]
Each employee will receive 104 personal days a year. They are called Saturday & Sunday.

[B]BEREAVEMENT LEAVE[/B]
This is no excuse for missing work. There is nothing you can do for dead friends, relatives or co-workers. Every effort should be made to have non-employees attend to the arrangements. In rare cases where employee involvement is necessary, the funeral should be scheduled in the late afternoon. We will be glad to allow you to work through your lunch hour and subsequently leave one hour early.

[B]RESTROOM USE[/B]
Entirely too much time is being spent in the restroom. There is now a strict 3 minute time limit in the stalls. At the end of three minutes, an alarm will sound, the toilet paper roll will ...

2

if 12oz of soda killed 2 lbs of mouse than it means 6 oz soda is enough for 1 lb.... If it is true than if the weight of you friend is also in lbs then just multiply the weight with 6oz
[CODE]//declare variables
int AMOUNT_SODA;
int MOUSE_WEIGHT;
int START_WEIGHT;
int DESIRED_WEIGHT;
double SWEETNER_PERCENT_SODA;
double sweetnerKillMouse_2lb; // amount of sweetner that will kill mouae
double sweetnerKillMouse_1lb;
double sweetnerKillHuman;//amount of soda that will kill a human
double newAmountSoda;

    //assigne variables
    AMOUNT_SODA = 12;//espressed in oz
    MOUSE_WEIGHT = 2;//expressed in lbs
    START_WEIGHT = 150;
    DESIRED_WEIGHT = 140;
    SWEETNER_PERCENT_SODA = (0.1/100) *AMOUNT_SODA

    //find out how much sweet ner killed te mouse
   // sweetnerKillMouse = SWEETNER_PERCENT_SODA * AMOUNT_SODA;
    sweetnerKillMouse_2lb = SWEETNER_PERCENT_SODA;
    sweetnerKillMouse_1lb=sweetnerKillMouse_2lb/2;
    //find out how much sweetner human drinks till he dies 
    //(amount of sweetner that kills human / human weight) = (amount that kills mouse / mouse weight)
  //  sweetnerKillHuman = DESIRED_WEIGHT * sweetnerKillMouse / MOUSE_WEIGHT;
      sweetnerKillHuman = DESIRED_WEIGHT * sweetnerKillMouse_1lb;
    //find out the total amount of sida which has the amount of sweetner that kills a human
    //(amount of sweetner that kills the mouse / amount of soda ) = (amount of sweetner that kills human / new amount of soda)
    newAmountSoda = (AMOUNT_SODA * sweetnerKillHuman) / sweetnerKillMouse;

    //display
    System.out.println(newAmountSoda);//MY RESULT IS 840.00[/CODE]
Votes + Comments
very good
Helped me realize something simple.
2

"Mister, why doesn't this cow have any horns?" asked the young lady from a nearby city. The farmer cocked his head for a moment, then began in a patient tone, "Well, ma'am, cattle can do a powerful lot of damage with horns. Sometimes we keep'em trimmed down with a hacksaw. Other times we can fix up the young 'uns by puttin' a couple drops of acid where their horns would grow in, and that stops 'em cold. Still, there are some breeds of cattle that never grow horns. But the reason this cow don't have no horns, ma'am, is 'cause it's a horse."

1

add the xml file and .dtd file in ur debug folder and add following code in where you want to extract connection string (Supposing your xml file has connection string as the first attribute )

[CODE] XmlReader xmlrdr;
XmlReaderSettings readerSetting = new XmlReaderSettings();
readerSetting.ProhibitDtd = false;

        if (File.Exists(Application.StartupPath.ToString() + "\\FileName.xml"))
        {
            xmlrdr = XmlReader.Create(Application.StartupPath.ToString() + "\\FileName.xml", readerSetting);
        }
        else
        {
            Domain domain = Domain.GetCurrentDomain();
            DomainController dc = domain.PdcRoleOwner;
            xmlrdr = XmlReader.Create("\\\\" + dc.Name.Split('.').GetValue(0).ToString() + "\\FileName$\\FileName.xml", readerSetting);
        }

        while (xmlrdr.Read())
        {
            xmlrdr.MoveToElement();
            if (xmlrdr.NodeType == XmlNodeType.Element && xmlrdr.Name == "connection")
            {
                if (xmlrdr.HasAttributes)
                {
                    xmlrdr.MoveToFirstAttribute();
                    while (xmlrdr.MoveToNextAttribute())
                    {
                      String Connection_string = xmlrdr.GetAttribute(1);
                    }
                }
                break;
            }
        }[/CODE]
2
1

What to say ????? First you have to make the database then make a c# application and take the new file from user and match it with the one in database ..... But are aware you of the difficulties in matching 2 audio files in c#????
I will not prefer c# for such a work it will be a collaborative work of MATLAB and C#.... Can you program in MATLAB and C#?

Votes + Comments
Continuous help :)
2

Check the following code Main[CODE]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Week2Lab
{
class Program
{
static void Main(string[] args)
{
Employee object1 = new Employee();
object1.FirstName = "Joe";
object1.LastName = "Student";
object1.Phone = "555-1111";
Console.WriteLine("Name:" + object1.FirstName + " " + object1.LastName);
Console.WriteLine("PhoneNumber:" + object1.Phone);
Console.WriteLine("Salary:" + object1.calculatePay(74395.11));
Console.WriteLine("\n\n");
RaceCar object2 = new RaceCar();
Console.WriteLine(object2.CurrentPosition());
Console.ReadLine();
}
}
}
[/CODE]
Employee
[CODE]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Week2Lab
{
class Employee
{
private string firstName;
private string lastName;
private String phone;
// private double annualSalary;

    public Employee()
    {

    }

    public string FirstName
    {
        get { return firstName; }
        set { firstName = value; }
    }

    public string LastName
    {
        get { return lastName; }
        set { lastName = value; }
    }

    public String Phone
    {
        get { return phone; }
        set { phone = value; }
    }

    public double calculatePay (double annualSalary)
    {
          return annualSalary / 52.0;
    }
}

}
[/CODE]
RaceCar[CODE]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Week2Lab
{
class RaceCar
{
private string name;
private int x_coordinate;
private int y_coordinate;

    public RaceCar()
    {
        //Set the car name to “Fast One”
        name = "Fast One";
        //Set the x coordinate to 200
        x_coordinate = 200;
        //Set the y coordinate to 100
        y_coordinate = 100;

    }

    public String Move()
    {
        // Console.ReadLine();                        
        x_coordinate = x_coordinate + 5; // same as x += 5;
        return "Current Position: " + x_coordinate + "\n\t\t  " + y_coordinate;
    }

    public string CurrentPosition()
    {
        String current = Move(); ...
Votes + Comments
You are too good for this world.
Nice post