Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

Im reading pseudocode and i cant figure out what a particular expression means. Write "Enter the price in dollars: " Input Price Write "Enter state sales tax(e.g. .06) : " Input SalesTax Set Price = Price + (Price * SalesTax) Write "Price with Tax is " + Price What does the "+ Price" mean on the last line?

OpenStudy (rsmith6559):

The addition operator is "overloaded". If given numbers, it adds them. If given strings, it concatenates (adds them together). For instance: Write "Hello " + "World" would output: "Hello World"

OpenStudy (anonymous):

Thank you so much! It just just clicked!!

OpenStudy (rsmith6559):

You're welcome!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!