anonymous
  • anonymous
Hi. if i am typing x= 5000 and y = 0.2, when i type it in (x)*(y) the programme is saying they cant multiply strings . how do I write it in such a way where it actually can multiply 5000*0.2. Problem 1 of task 1
MIT 6.00 Intro Computer Science (OCW)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions.

anonymous
  • anonymous
Hi. if i am typing x= 5000 and y = 0.2, when i type it in (x)*(y) the programme is saying they cant multiply strings . how do I write it in such a way where it actually can multiply 5000*0.2. Problem 1 of task 1
MIT 6.00 Intro Computer Science (OCW)
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
declare it as int or float?
anonymous
  • anonymous
x = float(x) ?
anonymous
  • anonymous
what language?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
python
anonymous
  • anonymous
you can try it
anonymous
  • anonymous
ok thank you! that part is done but now im stuck at the next....
anonymous
  • anonymous
after i get the calculations for this. I want it to appear as . Minimum payment : calculated value. How do i do this part?
anonymous
  • anonymous
print("Minimum payment:",x)?
anonymous
  • anonymous
:D :D ;D thank you!!!!!!!!!

Looking for something else?

Not the answer you are looking for? Search for more explanations.