Oct 9, 2012 at 4:33pm UTC
write a program which will read price of an item and tax rate.the program will call a function which will calculate the final price of the item. the formula is as follows:
price: item price+ (item price * (tax rate))
The price calculated by the function should be displayed by the main program.
Oct 9, 2012 at 5:24pm UTC
Did you write any code for this yet? It seems pretty straight forward. If you don't know where to start, I suggest looking in your textbook for some similar problems or browsing the Internet for C++ calculation programs.
Oct 10, 2012 at 4:08pm UTC
yeah i've already wrote the program...jst wanted how other write it and compare it to mine
Oct 10, 2012 at 5:01pm UTC
How about you post your code, and we could give tips on how you could improve it.
Oct 11, 2012 at 1:36pm UTC
yeah i can do that...
here it is
# include <iostream>
double display itemprice ();
double display taxrate ();
void main ()
double itemprice, itemprice + (itemprice* (taxrate/100))
itemprice= itemprice+ (itemprice+ (taxrate/100))