Sorry for the confusion, I deleted the duplicate method and I am trying to add up the sum of all the elements in the method to a total. What should I try next?
Type: Posts; User: LoganC
Sorry for the confusion, I deleted the duplicate method and I am trying to add up the sum of all the elements in the method to a total. What should I try next?
So instead of declaring them in the if statements, I should just return them?
Fixed. I am trying to add up the returns of all of my if statements, but where I have tried to do it, they all say
double finalCostOfComputer = computerBase+printer+speakers+mouse+mousepad+headset...
Few errors: in bold: cannot find symbol ( for the things in bold )
trying to add together the if statements, but it isn't working, Im confused. My question is, how do i add what my if statements...