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(); }
find area uder the curve y=f(x) between x=a and x=b #include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; in
Project Description: I need to convert AFL code of Amibroker to DLL plugin to hide original formula, and also to protect the DLL and making it hardware locked. I need to wrap th
C program for function of average int average(int); void main() { int max=0,c=0; clrscr(); printf("ENTER THE LIMIT OF INPUT FOR AV
C program to show overloading of matrix operator: Write a program for matrix operator overloading. class matrix{ private : int x[
give an example of function
How are postfix and prefix versions of operator++ () differentiated? A: The postfix version of operator++ () contain a dummy parameter of type int. The prefix version does not c
Task Your task is to write a program, words, that reports information about the number of words read from its standard input. For example, if the file qbf.txtcontains the text th
Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules. a. A call made between 8:00 AM and 6:
Define order that local objects are destructed?
write a program that adds all numbers from 1 to 200
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