C Program NEED HELP!

This is a discussion on C Program NEED HELP! within the C Programming forums, part of the General Programming Boards category; Hello All, I'm new to the forum and C programming in general. I am taking a class at my college ...

  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    2

    C Program NEED HELP!

    Hello All,

    I'm new to the forum and C programming in general. I am taking a class at my college and I have an assignment due on Wednesday 6/15. I signed up to this forum to hopefully receive help from knowledgeable people, not to have them do my homework. So that being said, I will continue to post updates between now and then until I get the program right.

    Here is the Program Description:

    Create a new program that allows the user to price fences. There are 3 styles of fence panels to choose from: Board-on-board ($46.97), Dog-ear ($35.97), and Shadowbox ($39.97). Each panel is 8 feet long and 6 feet high. Fence posts are 3 in. by 3 in. and 6 1/2 feet high ($4.97). Based on the style, number of panels, number of posts, the program will compute the price of the fence.

    Write functions to compute the low (using array notation), average, and high (using pointer notation) lengths.

    In the main program, display a welcome message. Then allow the user to select a fence style, and enter into an array the lengths of the fence sections needed. The program will suggest the number of fence posts (one per 8 foot length and one additional) needed. Allow the user to confirm or change the number of fence posts. Then compute and display the number of panels, posts, subtotal, tax, and total. Call the functions to determine and display the shortest and longest fence sections. Call the function to determine and display the average length of the fence sections. Allow the user to repeatedly request the pricing on a fence.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,410
    Quote Originally Posted by mattlikex
    I signed up to this forum to hopefully receive help from knowledgeable people, not to have them do my homework. So that being said, I will continue to post updates between now and then until I get the program right.
    That is a good attitude. What have you done so far?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    2
    Thanks for the reply, I haven't been able to work on it yet, I will most likely start between tonight and work most of the day tomorrow. I just got out of the hospital yesterday from surgery on my arm so I've been a bit behind. Once I start, I will post my progress. The pain meds are making me a little LOOPy (haha), so I haven't quite begun.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help converting array program to link list program
    By hsmith1976 in forum C++ Programming
    Replies: 0
    Last Post: 02-14-2010, 08:50 PM
  2. Replies: 1
    Last Post: 03-03-2009, 03:47 PM
  3. Replies: 5
    Last Post: 08-16-2007, 11:43 PM
  4. Replies: 18
    Last Post: 11-13-2006, 12:11 PM
  5. making a program leave a msg for background program when it closes
    By superflygizmo in forum Windows Programming
    Replies: 2
    Last Post: 02-06-2006, 06:44 PM

Tags for this Thread


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