i am supposed to create a code that a user can input the number of an item and will get the total. the number of items ordered determines the pricing they will get. 1 item $10, 2-4 items $9ea., 5-9 items $8ea., 10+ items $6ea. this is what i have thus far. please help i am not good at programming. i am using DEV C++
Sounds like you have copied my full example code inside your main function resulting in duplicate main() 's
just copy and paste what's inside the { } of the main function into yours and everything will work, and for the record this code works fine as any code I provide is always written in and tested in Visual Studio 2013
i am not doubting your skill by any means i am just trying to figure out my errors. i am trying again
Sorry that's not how I intended it to look like, i was merely letting you know I write it and test it before posting so that it doesn't contain errors.