Program for folllowing figure

Discussion in 'C#' started by Nagendraprasad, Oct 6, 2013.

  1. #1
    person <-----------Id,name,address,abstract calculate() method

    employee <----------- salary increment,calculate() method to compute new salary by

    adding increment,print () method to print details

    student<---------------marks in 3 tests,cal() method to compute best of 2 test marks,print()
    method to print the details

    write c#program to create the above classes.Create instance of each .call calculate() and print the news details.
     
    Nagendraprasad, Oct 6, 2013 IP
  2. strike2867

    strike2867 Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    This sounds like homework.
     
    strike2867, Oct 6, 2013 IP
  3. Nagendraprasad

    Nagendraprasad Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    ya
     
    Nagendraprasad, Oct 6, 2013 IP
  4. Nagendraprasad

    Nagendraprasad Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    pls help me
     
    Nagendraprasad, Oct 6, 2013 IP
  5. strike2867

    strike2867 Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    It's very simple. Here is a tutorial to get you started.
     
    strike2867, Oct 6, 2013 IP
  6. Nagendraprasad

    Nagendraprasad Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #6
    sry i don have idea abt c# much can u pls get me the code
     
    Nagendraprasad, Oct 6, 2013 IP
  7. strike2867

    strike2867 Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #7
    No, do your own homework. Or pay someone, I charge $100 per hour and this will take 10 minutes.
     
    strike2867, Oct 6, 2013 IP
  8. miguelf

    miguelf Member

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #8
    Isn't that the whole point of the homework to learn the language.
     
    miguelf, Nov 7, 2013 IP
  9. shek

    shek Well-Known Member

    Messages:
    266
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #9
    Why don't you hire somebody from buy/sell section of dp or codeclerks to complete this job ;)
     
    shek, Nov 8, 2013 IP