Find Jobs
Hire Freelancers

Write some software

₹12500-37500 INR

Imefungwa
Imechapishwa over 6 years ago

₹12500-37500 INR

Kulipwa wakati wa kufikishwa
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; } }
Kitambulisho cha mradi: 15087777

Kuhusu mradi

13 mapendekezo
Mradi wa mbali
Inatumika 7 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
13 wafanyakazi huru wana zabuni kwa wastani ₹21,447 INR kwa kazi hii
Picha ya Mtumiaji
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 ndani ya siku 2
4.9 (215 hakiki)
7.4
7.4
Picha ya Mtumiaji
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 ndani ya siku 10
5.0 (79 hakiki)
7.0
7.0
Picha ya Mtumiaji
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 ndani ya siku 1
5.0 (50 hakiki)
6.6
6.6
Picha ya Mtumiaji
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 ndani ya siku 10
5.0 (35 hakiki)
5.7
5.7
Picha ya Mtumiaji
. Relevant Skills and Experience . Proposed Milestones ₹27777 INR - .
₹27,777 INR ndani ya siku 10
5.0 (51 hakiki)
5.0
5.0
Picha ya Mtumiaji
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 ndani ya siku 1
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
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 ndani ya siku 10
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya INDIA
India
0.0
0
Mwanachama tangu Sep 3, 2017

Uthibitishaji wa Mteja

Kazi nyingine kutoka kwa mteja huyu

Web development
₹12500-37500 INR
Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.