can someone give me some xsample of inventory program in turbo c++
using stdio conio switch/ case with addition and multiplication
like in the grocery cashier computer

commented: Useless title, and then it carries on going downhill -7

Ugh, where to begin.

1. Don't use turbo C++, it's ancient. Go for a more modern compiler.
2. Don't use conio.h, it's not standard.
3. We aren't going to do your homework for you.

im not telling you to do some home work from me...
im just asking for same xsample because im only 1rst year student and c++ is too fresh for me ....

i want to get some xsample bec i dunno how to make like that because im not using computer in the cashier ...
ill just want to know how to use switch with addition and multiplication like in the grocery computer:'(

What have you done so far? Here's tutorial on switch statements. Read it and try to start for yourself. Then come back with a specific question.

You are welcome. If you are looking for samples then you are in wrong place. Have a U turn and goto the Ask for advice, suggestions, hints.

Read rules at daniweb.

int hs;
textcolor (LIGHTBLUE);
printf("\n [1]Shampoo");
printf("\n [2]DOG");
printf("\n [3]Mariwana");
printf("\n [4]Shaboo");
printf("\n Enter the Number of your Prodtucs:");
scanf("%d",& hs);
switch (hs)
case 1rintf("Shampoo 100$\n");
case 2rintf("DOG 200$\n");
case 3rintf("Mariwana300$\n.");
case 4rintf("Shaboo400$\n.");

ill just want to add something
like the number of products im buying
and total of amount

What did he JUST tell you!

Use code-tags.


Then come back with a specific question.

commented: Guess the first question is "why doesn't it compile?" ;) +36

Ask the Google god. Type your question into Google and all your questions
shall be answered.

Note: Not reliable for everything.

commented: lol :) +5