Project Management

Moderators: None (Apply to moderate this forum)
Number of threads: 79
Number of posts: 115

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Student needing help on programming assignment!! Posted by MnkyPrgrmr on 17 May 2005 at 10:23 PM
This message was edited by MnkyPrgrmr at 2005-5-19 11:28:41

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


Report
Re: Student needing help on programming assignment!! Posted by radianzap on 30 Sept 2008 at 10:56 PM
: This message was edited by MnkyPrgrmr at 2005-5-19
: 11:28:41


: 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

Report
Re: Student needing help on programming assignment!! Posted by rahul_pearl on 24 Jan 2009 at 8:04 PM
calculation of commision of an insurance agent using c++

#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<fstream.h>
#include<process.h>
//#include"c:\tc\bin\project.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<<"\n enter policy code";
cin>>pc;
cout<<"\n premium amount:";
cin>>pa;
cout<<"\n premium date:dd/mm/yyyy";
cin>>dmy.dd>>dmy.mm>>dmy.yy;
com1=0.35*pa;
cout<<"\n commission of agent is for 1st year:Rs"<<com1;
com2=0.20*pa;
cout<<"\n commission of agent is for 2nd year:Rs"<<com2;
com3=0.05*pa;
cout<<"\n commission of agent is for 3rd year:Rs"<<com3;
tot=com1+com2+com3;
cout<<"\n total commission of agent is:Rs"<<tot;
}

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

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

void repmenu()
{
int rchoice;
do
{
cout<<"\n *******REPORT MENU*******";
cout<<"\N 1.REPORT ON COMMISSION OF ALL AGENTS";
cout<<"\n 2.EXIT FROM REPORT MENU";
cout<<"\n 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<<"\n *******MAIN MENU*******";
cout<<"\n 1.GET INFORMATION";
cout<<"\n 2.DISPLAY";
cout<<"\n 3.TRANSACTION";
cout<<"\n 4.REPORT";
cout<<\n 5.EXIT";
cout<<\n 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();
}






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.