WAP to input any two numbers and find the unit digits (Last digit)of both Find out their sum and product. Print the sum and product
Answers
Answered by
10
The following codes have been written using Python.
We retrieve the numbers using the function. We use the datatype since the data we're obtaining are numbers. We then perform slicing to get the units-digit, by converting the numbers to strings first, temporarily. The final output is shown using statements.
To know more about string slicing, refer to the link below.
brainly.in/question/16088533
Similar questions