Check out example codes for "Your age doubled is: xx where x is the users age doubled. (print answer with no decimal places)". It will help you in understanding the concepts better.

Code Example 1

double the user’s age and print “Your age doubled is: xx” where xx is the user’s age doubled. (print answer with no decimal places)

Learn ReactJs, React Native from akashmittal.com