Find Jobs
Hire Freelancers

Write some software

₹12500-37500 INR

Closed
Posted over 6 years ago

₹12500-37500 INR

Paid on delivery
I need you to develop some software for me. I would like this software to be developed for Windows using C or C++. #include <iostream.h> #include <conio.h> #include <iomanip.h> struct library { char author[20],title[20],pub[20]; int price; library *next; }; int sum=0; void main() { clrscr(); library *head=NULL; library *initial(void); library *purchase(library *); //library *sale(library *);void display(library *); void stock(library *); void search(library *); int choice; while(1) { cout<<"Choose your Choice\n"; cout<<"1) Initial Data Entry\n"; cout<<"2) Purchase of Book\n"; cout<<"3) Sales of Book\n"; cout<<"4) Stock of Book\n"; cout<<"5) Search of Book\n"; cout<<"6) Display Books\n"; cout<<"7) Exit\n"; cout<<"Enter Your Choice:-"; cin>>choice; switch(choice) { case 1 : head=initial(); getch(); break; case 2 : head=purchase(head); getch(); break; // case 3 : head=sale(head);// break;case 4 : stock(head); getch(); break; case 5 : search(head); getch(); break; case 6 : display(head); getch(); break; case 7 : gotoout; default: cout<<"\nInvalid Choice\nTRY AGAIN\n"; } clrscr(); } out: } library *initial(void) { clrscr(); library *newl=NULL,*start=NULL,*end=newl; char ch; while(1) { cout<<"\n\nType y or Y for yes\n"; cout<<"Are you Interested in Entering Entry:-"; cin>>ch; if(ch=='y' || ch=='Y') { newl=new library; cout<<"\n\nEnter Author of Book:-"; cin>>newl->author; cout<<"Enter Title of Book:-"; cin>>newl->title; cout<<"Enter Publication of Book:-"; cin>>newl->pub; cout<<"Enter Price of Book:-"; cin>>newl->price; sum=sum+newl->price; if(start==NULL) start=newl; else end->next=newl; end=newl; end->next=NULL; } elsebreak; } return(start); } library *purchase(library *start) { clrscr(); int pos,count=1,choice; library *newl,*cnt=start,*head=start; if(start==NULL) cout<<"\n\nLIST IS EMPTY\n"; cout<<"\n\nChoose your Choice\n"; cout<<"1) Inserting At FIRST POSITION\n"; cout<<"2) Inserting In BETWEEN\n"; cout<<"3) Inserting At LAST POSITION \n"; cout<<"4) Exit\n"; cout<<"Enter your choice:-"; cin>>choice; if(choice >=1 && choice <=3) { newl=new library; cout<<"Enter Author Name :-"; cin>>newl->author; cout<<"Enter Book Title :-"; cin>>newl->title; cout<<"Enter Publication :-"; cin>>newl->pub; cout<<"Enter Price of Book:-"; cin>>newl->price; sum=sum+newl->price; } switch(choice) { case 1 : //for First position newl->next=head; head=newl; break; case 2 : //for Middle position read: cout<<"\n\nAt which position you want to insert Record:-"; cin>>pos; while(cnt!=NULL) { count++; //cnt for counting variable of type node cnt=cnt->next; } if(pos<1 || pos>count+1) { cout<<"\n\nEntered position is Invalid\nTRY AGAIN\n"; goto read; } { //Extra Braces are used as case bypasses intialization of a local variableint c=1; while(c<pos-1) { c++; start=start->next; } } newl->next=start->next; start->next=newl; break; case 3 : //for Last positionwhile(start->next!=NULL) start=start->next; start->next=newl; newl->next=NULL; break; case 4 : gotoout; default: cout<<"\nEntered Choice is Invalid Try again\n"; break; } out: return(head); } void stock(library *start) { clrscr(); int count=0; while(start!=NULL) { count++; start=start->next; } cout<<"\n\n\n\tTotal Number of Books in Stock is "<<count<<endl; cout<<"\tPurchase Price of Total Stock is "<<sum; } void search(library *start) { clrscr(); char author[20],title[20]; cout<<"Enter Book title and its Author name respectively to Search in stock\n"; cin>>title>>author; while(start!=NULL) { if(title==start->title) { if(author==start->author) { cout<<"\n\nBook is In Stock\n"; cout<<"It Cost Rs"<<start->price; return; } } } cout<<"\n\nSEARCH IS NOT IN STOCK\n"; } void display(library *start) { clrscr(); cout<<setw(10)<<"Book Title"<<setw(25)<<"Author of Book"<<setw(25)<<"Publication"<<setw(20)<<"Price"<<endl<<endl; for(int i=0;i<40;i++) cout<<"=*"; cout<<endl; while(start!=NULL) { cout<<setw(10)<<start->title<<setw(25)<<start->author<<setw(25)<<start->pub<<setw(20)<<start->price<<endl; start=start->next; } }
Project ID: 15087777

About the project

13 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
13 freelancers are bidding on average ₹21,447 INR for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
₹15,000 INR in 2 days
4.9 (215 reviews)
7.4
7.4
User Avatar
hello,how are you. i read your bid carefully. i am c/c++, opencv expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Then, I will give you good result to the proposals. hire me.
₹27,777 INR in 10 days
5.0 (79 reviews)
7.0
7.0
User Avatar
Hello, I have 2 decades of C++ experience. Can I help? I also teach C++ Relevant Skills and Experience Pls read thru my profile first. Proposed Milestones ₹27777 INR - Need more info Can we have a chat fist, so that I know what exactly needs doing?
₹12,777 INR in 1 day
5.0 (50 reviews)
6.6
6.6
User Avatar
Hi, I would like to write the program for you on C++. You can rely on me. I am an experienced developer. Looking forward to hear from you. Best regards, Oleg Relevant Skills and Experience I am an expert in C and C++ Proposed Milestones ₹27777 INR - Working C++ program Could you please provide more details? Thank you
₹27,777 INR in 10 days
5.0 (35 reviews)
5.7
5.7
User Avatar
. Relevant Skills and Experience . Proposed Milestones ₹27777 INR - .
₹27,777 INR in 10 days
5.0 (51 reviews)
5.0
5.0
User Avatar
I will will work with you to discover what you need and create the best solution. Relevant Skills and Experience c/c++ expert. Proposed Milestones ₹12500 INR - 1 can i help you?
₹12,500 INR in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
No advance needed . Just create the milestones . Daily update . Daily communication . 1 year support. I can create custom template or prebuilt template or follow images for designs. Relevant Skills and Experience No advance needed . Just create the milestones . Daily update . Daily communication . 1 year support. I can create custom template or prebuilt template or follow images for designs. Proposed Milestones ₹13888 INR - 5
₹13,888 INR in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
India
0.0
0
Member since Sep 3, 2017

Client Verification

Other jobs from this client

Web development
₹12500-37500 INR
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.