Write a C++ program that will find out the total amount of a customer’s bill according to the items purchased
819042
is this a homework problem!? :)\n\ni haven't written C++ in a while but it seems like a fairly straight forward problem.  take a look at creating classes with static members and you'll be headed in the right direction.
47487
1 $50 bill\n1 $5 bill\n4 $2 bills\n\nI just said that.
139131
Something like this would work (syntax may not be exactly correct here...):\n\npublic class FibonacciNumbers {\n    public int getNthNumber(int n)  {\n        if (n <= 1) {\n            return 1;\n        }\n        int curFib = 1;\n        int lastFib = 0;\n        int temp;\n        for (int i = 2; i < n; i++) {\n            temp = curFib;\n            curFib = curFib + lastFib;\n            lastFib = temp;\n        }\n        return curFib;\n    }\n};\n\n\nYou can also write it recursively (i.e. call getNthNumber() inside the function), but this way is a bit faster due to overhead from function calls.
1090153
What goes in: Every invoice or receipt that is paid out. Labor, lumber, permit fees, pizza for the local kids who might help, etc.\n\nIf you're computer-savvy, Microsoft Excel is a simple but competent way to keep track of the expenses. If not, then feel free to do it the old-fashioned way by pen and ink.\n\nSimplest way to organize it would be a sequential listing by month. At the end of the month, tally the month's expenditures. If you want information by category, e.g., how much have we spent on lumber to date, then you could make the colums as categories. In that case, a computer program such as Excel would come very much in handy but it's not critical.\n\nBest of success.
169151
int\nmain (void)\n{\nfor(i=0;i<10;i++){\nprintf("some thing output here %d", i)\n}\n}
755977
First of all--do your own homework, but you need a function like this:\n\nvoid print_okay()\n{\ncout << "Calculations indicate that you will make it to the next gas station" << endl;\n}\n\n\nand wherever the if statement is in the main function, you need an else after it that calls print_okay();
71006
Try "quickbooks".Its a great little inexpensive program for busniess.
444754
This sounds like school work, its a fairly simple program. you will probably want to use the cout and cin function which needs you to include iostream.h \n\nsimply use cout to print to screen, ask for input etc. then take the input using cin and store it to a int variable.\n\na good way to do it would be to ask the user what they wish to do, eg subtract, divide and take that operator first, a symbol or a number to show choice. then the next line asks for the numbers to be input.\n\neg:\n\n---------\n\nHello. what do you wish to do:\n1 - subtract\n2 - divide\n3 - etc etc\n\n>\n\n-------------\n\nthen use an if function or maybe a switch to check what their input was and do the artithmatic.\n\nso a very basic prgram may look like this:\nit may have errors i havant checked it.\n\n-----------------\n\n#include <iostream>\n\nint main() \n{\nint number;\n\n    cout << "Hello, input a number" << endl;\n    cin >>number;\n    return 0;\n}\n\n------\n\nEDIT; i re read the req, you might find inputting the selection to a char better, then check the char to see what symbol is stored in it, eg + / -. and maybe use a char array for the number input. simple take the char array, check for the space. split the numbers into 2 and caste then to an int. sounds complicated but it isnt to hard.\n\nsorry about spelling mistakes.
646616
class publication\n{\n   private :\n      char title[20];\n      float price;\n   public :\n      void getdata()\n      {\n          cin>>title;\n          cin>>price;\n      }\n};\nclass books :: public publication\n{\n   private :\n      int pagecount;\n   public :\n      void getdata()\n      {\n          cin>>pagecount;\n      }\n\n};\nclass tape :: public publication\n{\n   private :\n      int playing_time;\n   public :\n      void getdata()\n      {\n          cin>>playing_time;\n      }\n};
269526
use yur calculator...
38267
It's easy but I need more details. Which programming language is it or which program was the invoice program made in? Perhaps you should also supply source code or program file. My email is tim0huxley@yahoo.com.sg
232131
#include<iostream.h>\nint main() \n{ \n   int stop=false;    \nchar pl='X';    \nchar p; //is used for checking when a game is won  \n  \nint v; //value    \nchar list[]="123456789&#92;0"; //create our array that holds all the values \n\n   do { //start our while loop        //INPUT \n       cin >> v;        //MARKING \n       if (list[v-1]!='X' and list[v-1]!='O')\n {       \n    list[v-1]=pl;       \n }        \nelse\n {  \n     cout << "That place is already taken.&#92;n";   \n      goto skip; //if its already taken skip the turn switch             \n}  \n    if (pl=='X')\n {  \n          pl='O';  \n   }\n   else\n { \n \n          pl='X';  \n      }        skip:;        //win checks   \n     for (int w=0; w<2; w++)\n{    \n        if (w==0)\n{       \n        p='X';   \n         } \n           else{ \n                p='O'; \n           }\n     for (int z=0; z<9; z=z+3)\n {\n     if (list[z]==p and list[z+1]==p and list[z+2]==p) {                 \n  stop=true; \n        goto GAME_END;    \n            } \n           }\n            for (int z=0; z<3; z++) { \n        if (list[z]==p and list[z+3]==p and list[z+6]==p) {\n                   stop=true;            \n       goto GAME_END;        \n        }  \n          }        \n    if (list[0]==p and list[4]==p and list[8]==p or list[2]==p and list[4]==p and list[6]==p)\n{     \n          goto GAME_END;   \n         }   \n     } \n       //PRINTING OF THE VALUES       \n for (int x=0; x<9; x++) {  \n           cout << list[x];   \n          if (x==2 or x==5 or x==8) {  \n              cout << "&#92;n";    \n         }    \n    }   \n     //END PRINTING OF THE VALUES \n       //system("PAUSE");   \n }\n while (stop==false); \n//End the while loop    \nGAME_END:;      \n  cout << p << " wins!&#92;n";      \n  system("PAUSE");\n}
588997
I use "C++ How to Program" by Deitel & Deitel.\nIt's really good
367646
Price\nProduct\nPlace\nPromotion
327249
Use the calculator on your computer...
728764
Kindly go to www.allexperts.com\nChoose computing category. then Programming--Basic--Visual Basic\nYou can post your query there with one of the experts.\nThey will reply you free of charge
1043410
A monumental task!\nHope yur not the sole programmer.\nI recommend staying with standard C or Cobol\nA comprehensive telecom billing system will atke you years to write.