Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
THIS PROGRAM IS TO DISPLAY A STOCK CONTAINING ITEM CODE,ITEM NAME,PRICE AND ANOTHER STOCK WITH CODE & QUANTITY AND DISPLAY COMPLETE INFORMATION#include #include #include struct stock { int itemcode; char itemname[30]; float unitprice; };struct stock1 { int itemcode; int quantity; };void main() { clrscr(); stock s[50]; stock1 s1; float amt; int number; cout<<"enter the no. of items to be purchased : "; cin>>number; cout< for(int i=0;i { cout<<" Item code : "; cin>>s[i].itemcode; cout<<" Item name : "; gets(s[i].itemname); cout<<" Unit price of the item : "; cin>>s[i].unitprice; cout< } cout<<"enter the item code of the item to be purchased : "; cin>>s1.itemcode; cout<<"enter the total quantity : "; cin>>s1.quantity; cout< for(i=0;i { if (s[i].itemcode == s1.itemcode) { amt = s[i].unitprice * s1.quantity; clrscr(); cout<<"\t B I L L "<<"\n\n"; cout<<" item code : "< cout<<" item name : "< cout<<" unit price : "< cout<<" quantity : "< cout<<"\n"; cout<<" total amount : "< } else { clrscr(); cout<<" THE ITEM IS NOT AVAILABLE "; } } getch(); }
What if I cannot wrap the local in an artificial block? need help on Artificial Block in c++.
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes
Optimize and Profile a C++ library for speed Project Description: Optimize and Profile an existing C++ library for speed. This library uses OpenMP and OpenCV and C++ stan
Write a program called Converter that does three types of metric conversions. Your program should prompt the user for the selection conversion, prompt for input data, and display t
A: Use a member while you can and a friend when you need to. Sometimes friends are better syntactically (e.g., in class Fred, friend functions let the Fred parameter to be secon
Write a C++ program with header and source files to store street addresses using the Doubly Linked List ADT. Modify the Node class from Lab Assignment 3 so that it becomes a node i
A: The simplest way is to use a stringstream: #include #include #include using namespace std; string itos(int i) // convert int to string { stringstream s;
Program is to create a file student.dat: Program is to create a file student.dat which contains all name, roll_no,marks(5 sub) and percentage class student {
Homework – Chapter 5 – Bowling Scores 33. Write a complete C++ program to do the following: The main program reads in and prints three bowling scores, score1, score2, and score
5 questions. plus i will provide the "vector.h" for the questions that needs it
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd