Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

C# HELP! :confused:


  • This topic is locked This topic is locked

#1
starrz

starrz

    Member

  • Member
  • PipPip
  • 11 posts
YUP, this is homework but know that I am not asking for it to be done FOR me, I just need someone that can explain it in laymans terms, step by step preferrably. I have the class diagram but I do not know how to write the operations or in what order.

The class is petClinic

The members are pet, owner and vet

The methods are vaccinate, treat illness.

Help help help please this is due tomorrow night.

:) :) :)

This is what I have so far, dont know if it is right or not, but here it is:

public class petclinic
{
private string pet;
private string owner;
public string vet;
}
public pet (){}
public pet (owner, vet)
{owner = o, vet = v, pet = p}
public string pet

Edited by starrz, 10 November 2007 - 12:12 PM.

  • 0

Advertisements


#2
Ryan_88

Ryan_88

    Member

  • Member
  • PipPipPip
  • 110 posts
what are you trying to solve?

at this point in the program you are only defining variables!!!

have you tried compiling?

this may give you some indication on where you are going wrong!

ry
  • 0

#3
Ax238

Ax238

    Tech Staff

  • Technician
  • 1,323 posts
Sorry, but we don't assist with homework. Please use other resources available to you: online tutorials, Google, textbook, professor, or fellow classmate.

Thanks for understanding,

Ax
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP