Taking input from user.. please help

I want to design an app which calculate area of square.

I want to take input from user(length of sides) , then use that input to calculate area and print the result on screen.

Can someone help me. Please

You’ll need to implement a couple native text fields for input:

https://docs.coronalabs.com/daily/api/library/native/newTextField.html

and a text object to show the output: 

https://docs.coronalabs.com/daily/api/library/display/newText.html

You’ll need to implement a couple native text fields for input:

https://docs.coronalabs.com/daily/api/library/native/newTextField.html

and a text object to show the output: 

https://docs.coronalabs.com/daily/api/library/display/newText.html