I am having trouble with how my program displays the items with a $ sign. I do not want a dollar sign and I ma not sure how it got there as I did not put one in. Is there a way to get rid of the $ sign without posting my code?
Welcome to the inventory program
Enter the item number:
Enter the product name:
Enter the product price: 1.59
Enter the total products in stock: 12
Item number is 1234
The product name is Sauce
The number of products in stock are: $12.00
The price of each product is: $1.59
The inventory value is: $19.08
BUILD SUCCESSFUL (total time: 14 seconds)
I do not want the $ sign where the products in stock are. And if I declare productInStock as a string how do I get the totalInventoryValue which = productInStock * productPrice. I did try it and it gave the error can't go from string to double.
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...