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(); }
Charity Ball Organizer Many charities support good causes, but one of the difficulties each of them has is organizing their fundraising events. After nearly a semester of C pro
No. it's not required The C++ language guarantees that delete p will do nothing if p is equivalent to NULL. As you might get the test backwards, and as most testing methodologie
3. Write a program to encrypt and decrypt strings of characters using the following ciphers: a) Caesar cipher b) Vigenere cipher c) Matrix transposition cipher Your program shoul
Problem 1. Discuss polymorphism in c++. Explaining Polymorphism 2. Write a program in c++ to read a 3X2 matrix and find smallest number in that matrix. Writin
Define Storage Classes of c program - computer programming? Each variable and function in C language has two attributes that are type and storage class. If storage class of a v
Write a program that performs character processing on 10 characters read in from a file, and writes the results to output files. Do NOT use loops or arrays to solve this problem. N
Assume that a Binary Search Tree is constructed by repeatedly inserting exact values in to the tree. Argue that the number of nodes examined in searching for a value in the tree is
Your program will read two kinds of data from two files: names and predicates. It will read a formal expression from standard input and check whether that expression is syntactical
fine the class bankAccount to implement the basic properties of a bank account. An object of this class should store the following data: Account holder''s name (string), account nu
Define a user-defined data type (struct) called Car to represent a car in the context of a car dealership database. Car must have at least the following characteristics: Make Model
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