Working with variables

Exercise for you!


Try to write a program that takes the following 3 inputs from the user:

  • m,
  • x,
  • c

and computes y as per the following equation: y = m*x + c