Home Tutorialhelp Comment c++ help needed

 
 

Comment

babug
c++ help needed,
January 27, 2010 at 7:37 AM

Scenario:


Relax Solutions is an IT solution provider company. It has hired you as a Software Engineer. Your job is to write code, but at the same it should be of High Quality. Your Team Lead has asked you to write a code for daily sale of medical store. The code should be of High Quality.

You are required to

a. Write correct code in c++ for entering the daily sale of a medical store. Note that the whenever a medicine is sold, it is immediately entered in system. For each medicine following fields must be stored:
a. MedicineID
b. Medicine Name
c. Quantity sold
d. Total price (should automatically be calculated)

Note: you will initially have all medicines stored in database (MedicineID, Medicine Name and Unit Price) so that you may automatically calculate the cost. You can manually enter the master information (MedicineID, Medicine Name and Unit Price) about each medicine, no need to provide separate interface.

b. Display a report of daily sale. This report will show complete record of sales of a particular day (record of all medicine sold on that day) along with the total sale in Rupees.

c. Make use of Hungarian Notation for coding purpose

d. Make use of Comments in the Code where required necessary.

TIPS: you can use filling for storing the basic information

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

Java help needed
Java help needed  Create a web application that will allow a user... as needed by the number of characters of the chosen word. 2. Add 4 buttons or menu options: One for accessing help using the program, one for adding new words, one 

Java Beginners

Help needed in JSP
Help needed in JSP  Hi .. I want to Update the multiple values of database using checkboxes and want to set the session for selected checkboxes..? please answer if any one knows as soon as possible 

Development process Questions

help Needed with requirements
help Needed with requirements  Following are my requirements : * Maintain a student database *Based on a student's test results ,reports should be generated so as to project details such as a students weakness in a particular 

Java Beginners

Code Help Needed
Code Help Needed  I am trying to help a buddy of mine with this program and I can't seem to figure it out. I am still working on it but any help...[test]); line. Again thank you for any help. import java.util.*; import 

Java Beginners

urgent help needed!!!!
....please help me.... 1)state.jsp: <%@page import="java.sql.*"%> 

Java Beginners

urgent help needed!!!!
access country and state....please help me.... 1)state.jsp: <%@page import 

Java Beginners

help needed for a program - Java Beginners
help needed for a program   i am having trouble understanding on what to code, so can some 1 help me out here. thanks in advance. Part I Write, compile and execute a Java program that displays the following prompts 

Java Interview Questions

help needed - Java Interview Questions
help needed  What are the new features added in jdk 1.5?  Hi friend, The following were the new features added in java 1.5.... * Autoboxing/unboxing ------------------------- This link will help you 

SQL Question

look up values help needed
look up values help needed  Hi, I have a table that returns rows with a total weight (say 212.5 for example). I have another look up table that has... of 2.55 as 212.5kgs is between 195.5 and 220.5 can anyone help how I can do 

Servlet Interview Questions

servlet redirect problem help needed
servlet redirect problem help needed  package p; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import 

Servlet Interview Questions

servlet redirect problem help needed
servlet redirect problem help needed  package p; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import 

Development process Questions

PHP help needed - Development process
PHP help needed  This is my code that I am using for search engine, can any body answer how to cheange the code if I want limited and per page result display??? code Career Search result Yami says <?php 

JavaScript Questions

Help needed for Form Validation please help!
Help needed for Form Validation please help!  I have created a page which has login as well as Signup fields. I validated the login part by using jsp as it has to go through the database for checking for incorrect Username 

Development process Questions

Help needed for J2me and PHP - Development process
Help needed for J2me and PHP  Hello Sir I am a degree student. I have a small CRM application using J2me and PHP. I want to do cryptography using... but could not get result. I will appreciate your help. Regards 

JDBC Questions

urgent help needed in JDBC AND JAVA GUI - JDBC
urgent help needed in JDBC AND JAVA GUI  my application allows... want any one to help me convert from scanner to java GUI for this code...(); } } // thanks for any help rendered   Hi Friend, Try the following code 

Development process Questions

C++
C++  I have been asked to write a programme that gets five values,gets the sum,average and product please help me 

JSP Servlet Questions

Further advice needed on my last question - JSP-Servlet
Further advice needed on my last question  Dear Experts, I refer... solution, I get alot of errors.. .Netbean IDE mpiling 1 source file to C:\Documents and Settings\build\generated\classes C:\Documents and Settings\enter 

Programming Tutorials

C++Tutorials
C++ Tutorials              C++ Tutorial Namespaces are a relatively new C++ feature just now starting to appear in C 

Java Beginners

CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP   The Task Write a class whose objects will represent students. The class should have three fields for representing a student‚??s 

Java Beginners

CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP   Write a class whose objects will represent students.The class should have three fields for representing a student√Ę‚?¨‚?Ęs name, this student√Ę‚?¨‚?Ęs 

Java Beginners

help with substring in c programing
help with substring in c programing  Hi I could not found programming in C in the "select category" so I am posting my question in java section. Please help with substring function,prompt the user for two strings and display 

Java Beginners

Help needed on java standalone app and default browser interaction.
Help needed on java standalone app and default browser interaction.  Hi Developers and tutors, Is anyone able to guide on how am i able to extract...? Platform Windows Browser IE7 Any from of help would be deeply apperciated 

Development process Questions

C Help - Development process
C Help  Dear sir, I'm developing a program in c using TURBO-C, i want that when my program runs the console window(cmd) should be hidden. program should run in task manager. thnx 

Java Beginners

C Program....PLEASE HELP
C Program....PLEASE HELP  For this assignment, you are to write a program that calculates points along a rhodonea curve, a.k.a. a mathematical rose..., and pointers. I am lost and need a little help starting please *int fillArray 

IDE Questions

Need urgent help with C++ errors!
Need urgent help with C++ errors!  hi, i'm new to C++ programming. this is my code... i'm using Turbo C++. It's showing so many errors!.. I don't know what to do. Please help!! #include<iostream.h> void main 

Development process Questions

C++ Starter needs help :S
C++ Starter needs help :S  Hi, im 15 & im trying to learn how to program, i am starting with C & C++ since these are (what ive been told... questions abaut C++. Please help! :(   Please visit the following link: C 

Java Beginners

Help!
Help!  thanks for ur code, I'd like to ask a question: after press "c" or "C", timer starts and after every delay ms, it'll print "This line is printed only once." or just print once. I'm writting a timer but it seems to perform 

Java Beginners

hi need help with C++ programming!
hi need help with C++ programming!  how do i : b. Store numbers / characters into the file (output) c. Retrieve numbers / characters from the file...; "Unable to open file"; return 0; } c) #include <iostream> #include < 

Mobile Applications Questions

Help
Help  Hi; Can anyone help me to solve this errors. I use J2ME... saved Building "SlideImageMIDlet" C:\Documents and Settings\???? ?????\j2mewtk... symbol : class SlideMenu location: class IconsCanvas SlideMenu menu = null; ^ C 

Java Interview Questions

help
"; else return "C"; } public String Convert(String Name){ return...) return "B"; else return "C... based on the percentage of cheating. please help me 

Java Interview Questions

urjent code needed - Java Interview Questions
, test.pdf, "c:\temp\test.pdf", 1234); Doc(1, test.pdf, "c:\temp\test.pdf", 2222); Doc(1, test.pdf, "c:\temp\test.pdf", 3333); Document findDocument(int docId 

JavaScript Questions

help
. b. calculateTotalPayment() method calculates the total payment c. display 

Development process Questions

c/c++ - Development process
c/c++  Ive been asked to develop a backgammon game using C language. I don't know which code to use to move checkers and to roll die. I would appreciate to get some help. Thanks 

Development process Questions

c/c++ - Development process
c/c++  Ive been asked to develop a backgammon game using C language. I don't know which code to use to move checkers and to roll die. I would appreciate to get some help. Thanks 

JSP Servlet Questions

help me on jstl- <c:url> - JSP-Servlet
help me on jstl c:url  what is jstl in java 

IoC Questions

C Program
C Program  Why doesn't the code int a = 1000, b = 1000; long int c = a * b; work? plz help me sir 

Development process Questions

C Language
C Language  What's the right declaration for main()? Is void main() correct? in C language ? please help me sir ! Thank You 

Java Beginners

C Structure
C Structure  Respected sir, Can a structure in C contain a pointer to itself ? if yes means how sir ? plz help me sir 

Development process Questions

C programming
C programming  i am beginner in C my text book says getchar... and printed on screen. Why?please help. #include <stdio.h> int main(void) { int c; while((c=getchar())!=EOF) { putchar(c); return 0; } i 

Java Beginners

C Language
C Language  Respected sir, Why does sizeof report a larger size than I expect for a structure type, as if there were padding at the end? help me sir 

IoC Questions

C Language
C Language  Respected Sir, How can I determine the byte offset of a field within a structure? How can I access structure fields by name at run time? please help me sir . Thank you sir 

AOP Questions

c++ - AOP
c++  hi friends,i got this question and i need u help. "Two subjects namely computer aided design(subject1)and computer programming(subject2... friends i rill thank you for all the help u give me.pliz help me out 

Development process Questions

C# code
C# code  hi pls clear my doubts this is my code but out is not well... help me thank you, protected void Button3_Click(object sender, EventArgs e... pls help me any one thanks 

Programming Tutorials

C++GraphicsTutorials
C++ Graphics Tutorials     ... in this document is correct. C/C++ Windows programmers who want to learn... MFC.      OpenIL in Dev-C++ OpenIL 

IoC Questions

Array in C
Array in C  Respected Sir, How can an array be an lvalue, if we can't assign to it? How can I set an array's size at run time? How can I avoid fixed-sized arrays? help me sir 

Java Beginners

What is the equivalent method in Java which is equivalent to clrscr() in c/c++ . The code should help to clear the output screen ?
What is the equivalent method in Java which is equivalent to clrscr() in c/c++ . The code should help to clear the output screen ?  Hello to all, I...() which is used in c/c++. In some sites i found using the Runtime.xxxx.xxx(command 

HTML Questions

help me..
help me..   what are the component needed by grid computing, cloud computing and ubiquitous computing? discuss about the security of above computing. difference between that 3 computing 

Framework Questions

write code in c#
write code in c#  sir I want to write a save and save as code in the c#(windosForm).Please help me 

Struts Questions

please help me to answers this question about C++.....huuhuhuhu
please help me to answers this question about C++.....huuhuhuhu  1... clock to measure the running time c) Use several input (eg: N = 100 , N = 1000.... Implement the code and give the running time for several values of N c. Compare your 

HTML Questions

please help me to answers this question about C++.....huuhuhuhu
please help me to answers this question about C++.....huuhuhuhu  1... clock to measure the running time c) Use several input (eg: N = 100 , N = 1000.... Implement the code and give the running time for several values of N c. Compare your 

Java Interview Questions

help plz - Java Interview Questions
help plz  1 )write a program that does the following : a. prompts... the five decimal numbers? c. converts each decimal number to the nearest integer? d.../ output the number of milk cartons needed to hold milk (round your answer 

JDBC Questions

Packages needed for JDBC in Linux
Packages needed for JDBC in Linux  Can anyone tell me the packages needed to run a program with JDBC in Red Hat 5 

Java Beginners

C Language - Java Beginners
C Language  1. What are extension files? Give examples. 2. What is operating system? What are the different types available? 3. What... answer for the above questions since it is very much needed urgently 

Free C++ books

C/C++ Programming Books
C/C++ Programming Books         Visual C++ 6 Unleashed Visual C++ 6 Unleashed provides comprehensive coverage of the core topics 

Java Beginners

sorting Line in c
sorting Line in c  Hi I need help with sorting line in programming c asking user to enter 1-10 characters and then sort them in lower case, alphabetical and ascending order. Any help will be appreciated! please help! void 

Java Beginners

C program to print the following
C program to print the following  Hello, Some one help me with a "C Program" to print the following as output: 4444444 4333334... for any inputs. (Actually there is no category as C in the category menu 

Java Interview Questions

help plz - Java Interview Questions
help plz   1 )write a program that does the following : a. prompts... the five decimal numbers? c. converts each decimal number to the nearest integer? d.../ output the number of milk cartons needed to hold milk (round your answer 

IDE Questions

standard format in C++
standard format in C++  Please help me with this one. thank you so much. **"Write a C++ program to read a date in US standard format (mm dd yyyy) and print it in Australia standard format (dd mm yyyy 

Mobile Applications Questions

Parsing string in objective c
Parsing string in objective c  Hi, How can i parse a string in Objective c?? Thanks.   Parsing string in objective c This example will also help you to separate the strings separated by one component 

iPhone

Objective C Constructors
Objective C Constructors       Objective-C enables user to define constructor with the help of self and super keywords. Like java Objective-C has parent class and programmer 

Java Interview Questions

C interview questions
which is no longer needed? a. unalloc() b. dropmem() c. dealloc() d. release...C interview questions  Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2 

Java Interview Questions

C interview questions
which is no longer needed? a. unalloc() b. dropmem() c. dealloc() d. release...C interview questions  Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2 

Java Beginners

c++ - Java Beginners
c++  to write a program to display the elements in different format using single dimensional array with the help of function templates algorithm: 1.start the program 2.create a class elements 3.delete single 

HTML Questions

problem 3 = C#
C# program for grading system   Create a C# program for the following scenario: The grading system of a college is as follows: Marks : 80 -100.... Based on the marks display appropriate messages   help this problem 

JSP Servlet Questions

Needed jsp codes
Needed jsp codes   jsp code for employee payroll.producing a payslip of every employees monthly calculating the gross pay of a particular employee considering the income tax and producing a report which can be printed out 

Ajax Questions

c#
c#  how to find out the size of the BMP image in C 

CVS Questions

C++
C++  How can i write this in dev c 

Development process Questions

C++
C++  How can i write this in dev c 

Development process Questions

C Programming SubString Program
C Programming SubString Program  Sir I want to Check whether the Single Substring is present in the given 3 string. characters. eg if i entered... will be TRUE. Plz Help Me 

Development process Questions

c++ - Development process
c++  how the user create our own header file in c++ programs.i have coding but i can't create header file .please help me.code is shown below.reply immediately. //starting Arm.H #ifndef _ARM_ #define _ARM_ class Arm 

IDE Questions

help me
help me  MY GLASSFISH SERVER NOT START PROPERLY help me warning shows DPL5404:Specification-Version for the optional package [ GNUJAXP ] in the jarfile [ C:\Program Files\Java\jdk1.7.0_02\jre\lib\ext\gnujaxp.jar 

Java Beginners

Solution to C prog
Solution to C prog   Hi, Pls any body help, why the following prog crashing while running. #include<stdio.h> #include<conio.h> int main(){ int n,*fact(int *n); printf("Enter the number:"); scanf 

HTML Questions

problem 2= C#
C# registration form If user fails to enter for example User Name then the Message box should pop up with "Please Enter your User Name!!"  Write....   help plsssss 

Development process Questions

c++
c++  use a prgrm as an example to xplain-: a)class b)object c)message d)cope resolution operator 

Regex Questions

Regular expression in c++{MFC}
Regular expression in c++{MFC}  Hi ALL, I want to build a regular expression in c++{MFC} which validates the URL. The regular expression must... satisfying above condition. Please, Help us by providing a regular expression 

CVS Questions

a little pproblem in c++
a little pproblem in c++  i have one array where are only ,,0'' and ,,10'' like this n=11 <0 0 10 0 0 10 0 0 10 10 10> n=11 <10... help 

Development process Questions

C Program - Development process
C Program  How to do sum of Diagnol Matrix e.g 3 6 9 4 5 7 7 6 9 I want to display sum of 3+5+9 i.e to do sum of Diagnol Matrix plz Help Me  Hi Friend, Try the following code: #include #include 

Ajax Questions

c#
c#  how to find out the size of the BMP image 

Development process Questions

c++
c++  write a programme that calculates the area and circumference of a rectangle 

Development process Questions

C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Development process Questions

C++
C++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Development process Questions

c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Development process Questions

c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

HTML Questions

problem 1 = C#
C# how to calculate discount   We are selling Monitors. We have decided to give discounts based on the following items. i. CRT monitors attract 10... Relational operators   help this problem plsss 

Design concepts & design patterns Questions

C++
C++  Trace the bubble sort using the following integers,which represent the elements in an array. 5,7,3,8,6,7,3 

Development process Questions

c++
c++  write a prgrm tht accepts 3 integer values,then with a function to swap the values 

Java Beginners

C++
C++  Describe the principle advantages of deploying a linked list versus a static array when implementing a Queue or a Stack 

Development process Questions

A program solution needed
A program solution needed   I need a solve for this problem please ! a program that displays grade statistics. The program should read any number of grades (up to 100) and ends when the user enters -1, the program should reject 

Java Beginners

C#
C#  i need a code that will make program perform the basic operations upon the data Listview save, update and cancel 

Java Beginners

help me...
help me...  there is the picture given - cat - dog - rabbit - mouse a. create a class name b. create its attributes (at least 3 attributes) : species, size, leg c. create its methods ( at least 3 methods) : walk, eat, sleep 

Development process Questions

C#
C# register form  i want to generate a user id automatically after filling their register form and i want to show their id to their email? please reply me soon 

UML Questions

c++
c++  Consider the following function: int funcExercise7(int list[], int size) { int sum = 0; for (int index = 0; index < size; index++) sum = sum + list[index]; return sum 

UML Questions

c++
c++  Consider the following declarations: class xClass { public: void... private members does class xClass have? c. How many constructors does class xClass.... Write a C++ statement that prints the values of the data members of the object 

Development process Questions

c++
c++  .write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70 

Development process Questions

c++
c++  write a prgrm tht calculates the surface area of a cylinder.the prgrm shld find the circumfrance and have a function that calculates the fadius and another to calculate the surface area 

Development process Questions

C++
C++  write a prgrm tht gets five values,gets the sum,average &...; #include <conio.h> void main() { clrscr(); int a,b,c,d,e,sum; float average...;>b>>c>>d>>e; sum=a+b+c+d+e; average=sum/5; product=a*b*c*d 

Spring Framework Questions

c++
c++  write a program that gets a key or character from the keyboard and displays it ASII code in decimal, hexadecimal and binary form.It must also give a description of the key pressed 

Advertisements Advertisements
 

 

 

DMCA.com