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(); }
Project Description: I want a person who will be able to program a flex PCB for my device as i meet the person i will be able to describe all my needs Skills required are C P
Explain multi dimensional array with example.
Available in the string.h header file are the following routines strcat(string1,string2); This joins string2 to string1; care must be taken to allocate enough space for
All languages are divided into six sections: - variables, I/O maths, conditional expressions, arrays, functions, subroutines and file handlers. Learning a software language is simi
A: In C++ a struct is alike to a class except for the default access specifier( refer to other question in the document). In C we ought to include the struct keyword while declarin
The program will consist of two text fields, two buttons, and a counter label. One text field will be input, where the user types the plain text. The second text field will be ou
Various ways of initializing the Arrays. - The for loop initializes 10 elements with the value of their index. void main() { const in
Need Squid Web Proxy with ffmpeg to convert flv to h.264 Project Description: We need a squid proxy setup with the modification that will transcode FLV to h.264 in real-time,
You are required to write a stand-alone DSP application in the C programming language. The overall objective of this application is to convert a signal from the time domain to t
to calculate the amount to be paid by a customer buying yummy cupcakes for his birth day party
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