Question: Problem 1 : Write input / output / relevant formula and sequence of instructions in simple English ( pseudocode ) to find and output the

Problem 1: Write input / output / relevant formula and sequence of instructions in simple English (pseudocode) to find and output the last digit of a given number. For example, if the given number is 398, its last digit is 8. If the given number is 398.45, then its last digit is 5.
Note that that the given number can be either a whole number (e.g.,398) or a real number (e.g.,398.45). For this problem, assume that real numbers have exactly 2 digits after decimal.
Solution Problem 1:
List the problem input here: a number (either whole number or real number) List the problem output here: ------------
Relevant Formula: -------------------
Pseudocode (Step1 is given below. Complete the rest of the steps):
Step1: Input a number. Call it myNumber.
Step2: ....

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!