Question: *MUST BE WRITTEN IN LUA* *2 SEPARATE PROGRAMS* Write Two Lua Script Programs that answer the followings : 1) A Program that asks the user

*MUST BE WRITTEN IN LUA*

*2 SEPARATE PROGRAMS*

Write Two Lua Script Programs that answer the followings :

1) A Program that asks the user for a number then display all the factors of that number which are less or equal to a 100.

2) A function that calculate the solutions for a quadratic equations taking as arguments the three coefficients a, b and c. ( square root function in lua is math.sqrt). Make sure you test your function with some examples.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!