Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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