Code in desparate need of corrections!

This is a discussion on Code in desparate need of corrections! within the C++ Programming forums, part of the General Programming Boards category; Ok, I personally know little to nothing about programming in C or C++, but i'm trying to help out a ...

  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,662
    "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, 09:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 08:34 AM
  3. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 11: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, 06:06 PM

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