question for array

This is a discussion on question for array within the C Programming forums, part of the General Programming Boards category; write a program in C which incorporates a function using parameter passing the addtion of three numbers.The main section of ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    4

    Lightbulb question for array

    write a program in C which incorporates a function using parameter passing the addtion of three numbers.The main section of the program is to print the result.

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    This is pretty simple, but sounds like a homework problem...

    Try this algorithm:
    1)Prompt user for input (the numbers to be added)
    2)Pass user input to function
    3)Function adds values and returns their sum
    4)Print output

    Post some code, and people will help. Until then, you're not likely to get much.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21