Answered step by step
Verified Expert Solution
Question
1 Approved Answer
*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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started