Thread: Code Help Please

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    2

    Code Help Please

    Hello,
    I used C++ 7 yrs ago while I was studying and I almost forgot most of it. I now require help from this forum regarding a small program which should not be a problem for most of youse here.

    Okay here is the Question

    Need to write a program which accepts a series of integer numbers (between 0 an 100) and does the following operation:
    1. Sum of the first and last numbers entered
    2. Average of the first three numbers entered
    3. Product of last two numbers
    4. Largest of all the numbers entered
    5.Greatest Common Divisor of the last two numbers
    6.Factorial of the last number
    7. Grade of all the numbers.

    Please help me with this program and I will very much appreciate it if gets done ASAP.

    Regards
    Sammy

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Sent from my iPad®

  3. #3
    Registered User Kurisu's Avatar
    Join Date
    Feb 2006
    Posts
    62

    Here yah go.

    Okay seeing as how you are new I'll give you one free pass, but for future reference don't ask someone to write an entire program for you.. the purpose of homework is for you to do it yourself..

    You can download the final working program here.

  4. #4
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by Kurisu
    Okay seeing as how you are new I'll give you one free pass, but for future reference don't ask someone to write an entire program for you.. the purpose of homework is for you to do it yourself..

    You can download the final working program here.
    ROFL
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  5. #5
    Registered User
    Join Date
    Mar 2006
    Posts
    2
    Quote Originally Posted by Kurisu
    Okay seeing as how you are new I'll give you one free pass, but for future reference don't ask someone to write an entire program for you.. the purpose of homework is for you to do it yourself..

    You can download the final working program here.
    Thanks kurisu mate..Thank you very much for showing your F***** S**** Y***** J**** ****

    Kurisu= this

    Thanks "SlyMaelstrom" for showing me that Announcement..... I didn't see it before posting and by the way it is not an assignment.

    I have the code now......

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by seek1
    and by the way it is not an assignment.
    Yeah, looking at the context of the question you asked, I'm sure it's just a hobby program. It doesn't make it any better, anyway. Why bother pretending like you know how to program by getting other people to write it for you?
    Sent from my iPad®

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM