Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Student needing help on programming assignment!!

[b][red]This message was edited by MnkyPrgrmr at 2005-5-19 11:28:41[/red][/b][hr]
To All Experienced Programmers with programming jobs:
I have been assigned a CRLE in my "Intro to Applications Programming" class. Each individual student is to contact an experienced programmer working in the field and ask questions about how they work on, complete and manage there project/product. If someone could please allow me to email them or pm them the q's and give some nice thorough (spelled right?) answers that would be great. Just a simple nine, maybe more, questions that dont ask for any private info on person or product. Project due in 'bout 1.5-2 weeks so plz respond soon. You guys can call me Scott, I go to Clackamas Highschool in Portland, Oregon, USA, but the class is at the Sabin-Schellenberg Center, a local old school building used to teach electives (e.g. electronics engineering, red hat, oracle academy, cadd, industrial engineering). Also, you can respond to sukoto@gmail.com thnx for your help and time! ^_^ your programming power is great "...(-_-).../"/ PS you can also see Sabin programming page at http://sabinweb.nclack.k12.or.us/moodle


Comments

  • radianzapradianzap Posts: 1Member
    : [b][red]This message was edited by MnkyPrgrmr at 2005-5-19
    : 11:28:41[/red][/b][hr]
    : To All Experienced Programmers with programming jobs:
    : I have been assigned a CRLE in my "Intro to Applications
    : Programming" class. Each individual student is to contact an
    : experienced programmer working in the field and ask questions about
    : how they work on, complete and manage there project/product. If
    : someone could please allow me to email them or pm them the q's and
    : give some nice thorough (spelled right?) answers that would be
    : great. Just a simple nine, maybe more, questions that dont ask for
    : any private info on person or product. Project due in 'bout 1.5-2
    : weeks so plz respond soon. You guys can call me Scott, I go to
    : Clackamas Highschool in Portland, Oregon, USA, but the class is at
    : the Sabin-Schellenberg Center, a local old school building used to
    : teach electives (e.g. electronics engineering, red hat, oracle
    : academy, cadd, industrial engineering). Also, you can respond to
    : sukoto@gmail.com thnx for your help and time! ^_^ your
    : programming power is great "...(-_-).../"/ PS you can also see
    : Sabin programming page at http://sabinweb.nclack.k12.or.us/moodle
    :
    :
    :



    Friend , thanks for your great help.
    I have to prepare a project - "Insurance Management System" using SQL as backend n VB.net as frontend.
    Will you please provide me with the code ???

    Thanks,
    Quraishi
    from India

  • rahul_pearlrahul_pearl Posts: 1Member
    calculation of commision of an insurance agent using c++

    #include
    #include
    #include
    #include
    #include
    //#include"c: cinproject.cpp"
    struct xerox
    {
    char aname[20];
    char npt;
    char cname[20];
    int code;
    int age;
    char sex;
    };
    xerox x[50];

    fstream infile;
    long int pa,pc;
    float com;
    int i=0,count=0;
    struct date
    {
    int dd,mm,yy;
    };
    struct date dmy;

    void display(int count);
    void trans();
    void repmenu();

    void trans()
    {
    int com1,com2,com3,tot;
    cout<<"
    enter policy code";
    cin>>pc;
    cout<<"
    premium amount:";
    cin>>pa;
    cout<<"
    premium date:dd/mm/yyyy";
    cin>>dmy.dd>>dmy.mm>>dmy.yy;
    com1=0.35*pa;
    cout<<"
    commission of agent is for 1st year:Rs"<<com1;
    com2=0.20*pa;
    cout<<"
    commission of agent is for 2nd year:Rs"<<com2;
    com3=0.05*pa;
    cout<<"
    commission of agent is for 3rd year:Rs"<<com3;
    tot=com1+com2+com3;
    cout<<"
    total commission of agent is:Rs"<<tot;
    }

    void display(int count)
    {
    cout<<"count:"<<count;
    for(i=0;i<count;i++)
    {
    cout<<"
    agent name:"<<x[i].aname;
    cout<<"
    agent code:"<<x[i].code;
    cout<<"
    new policy type:"<<x[i].npt;
    cout<<"
    customer name:"<<x[i].cname;
    cout<<"
    age:"<<x[i].age;
    cout<<"
    sex:"<<x[i].sex;
    }
    }

    void getinfo()
    {
    cout<<"
    enter agent name:";
    gets(x[count].aname);
    cout<<"
    enter agent code";
    cin>>x[count].code;
    cout<<"
    enter new policy type[p/l/k/m]:";
    cin>>x[count].npt;
    cout<<"
    enter customer name";
    gets(x[count].cname);
    cout<<"
    enter age:";
    cin>.x[count].age;
    cout<<"
    enter sex [m/f]";
    cin>>x[count].sex;
    count++;
    }

    void repmenu()
    {
    int rchoice;
    do
    {
    cout<<"
    *******REPORT MENU*******";
    cout<<"N 1.REPORT ON COMMISSION OF ALL AGENTS";
    cout<<"
    2.EXIT FROM REPORT MENU";
    cout<<"
    enter your report choice[1/2]";
    cin>>rchoice;
    switch(rchoice)
    {
    case 1:
    //comm();
    break;
    case 2:
    exit(0);
    break;
    }
    }while(rchoice!=2};
    return;
    }

    void main()
    {
    int choice;
    clrscr();
    do
    {
    cout<<"
    *******MAIN MENU*******";
    cout<<"
    1.GET INFORMATION";
    cout<<"
    2.DISPLAY";
    cout<<"
    3.TRANSACTION";
    cout<<"
    4.REPORT";
    cout<<
    5.EXIT";
    cout<<
    enter choice[1/2/3/4/5]:";
    cin>>choice;
    switch(choice)
    {
    case 1:
    getinfo();
    break;

    case 2:
    display(count);
    break;

    case 3:
    for(i=0;i<count;i++)
    trans();
    break;

    case 4:
    repmenu();
    break;

    case 5:
    //comm();
    break;
    }
    }while(choice!=5);
    //infile.close();
    }



Sign In or Register to comment.