?Ruby


#1

sum equal to 13 + 379
product equal to 923 * 15
quotient equal to 13209 / 17

Please answer. Thank you.


#2

Hi Albert, what exactly is the question that you have?


#3

:laughing: its suppose to be = instead of equal to so like this lol:

sum = 13 + 379
product = 923 * 15
quotient = 13209 / 17

#4

I wrote:

Sum = 13 + 379

Product = 923 * 15

Quotient = 13209 / 17

It answered:
Oops, try again. Did you declare a variable called sum?


#5

Umm sorry i dont understand, isnt that how you declare a variable in Ruby? If not im not very proficient in ruby sorry


#6

Never mind. I put:

sum = 13 + 379

product = 923 * 15

quotient = 13209 / 17

#7

Hi Albertmark,

I have copy-pasted your entire text into the practice module of 'Introduction to Ruby' on rails and the answer I get is '777'.

I am looking forward to your next question :slightly_smiling:


#8

having some trouble here.. naming conventions?? I don't understand


#10