Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Navigating The Supply Chain Maze A Comprehensive Guide To Optimize Operations And Drive Success

Authors: Michael E Kirshteyn Ph D

1st Edition

B0CPQ2RBYC, 979-8870727585

More Books

Students also viewed these Databases questions

Question

Arrange the questions in some logical order.

Answered: 1 week ago

Question

How does the company Coca Cola has the best practices?

Answered: 1 week ago