Thread: Code in desparate need of corrections!

  1. #1
    Narclepto99
    Guest

    Code in desparate need of corrections!

    Ok, I personally know little to nothing about programming in C or C++, but i'm trying to help out a friend here........

    Just as a quick explanation - this program is supposed to be a mock FAFSA (free application for student aid, i think). Anyway, basically the program starts with a menu, you make whatever selection, and it asks the corresponding questions. Once the person has answered all the questions, it's basically supposed to spit out a summary of all the info that was entered. So, if anyone could go thgrough and make the necessary corrections, and re-post the code, it would be very much appreciated. Thanks in advance for any help.

    I know it's quite a bit of code, but he really needs help.

    [code]
    #include <iostream>
    #include <string>
    #include <fstream>


    using namespace std; //introduces namespace std
    double studentsum (double workincome1,double amtpaid1,double studentinvestment1, double studentstash1);
    int main( void )


    {
    cout << "Welcome To The Alternative FAFSA Form \n";//general greeting

    for(;/*forever loop, a feature used extensively in the program,

  2. #2
    Registered User rmullen3's Avatar
    Join Date
    Nov 2001
    Posts
    330

    ~

    1. USE CODE TAGS
    2. That's the whole program?
    "He who makes a beast of himself, gets rid of the pain of being a man." Dr. Johnson

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    "Just as a quick explanation - this program is supposed to be a mock FAFSA (free application for student aid, i think). "

    Totally irrelevant.

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. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  4. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM