Draw a flowchart and check whether the number is two digit or not. If it is a two digit number, then find first and last digit of the number
Answers
Answered by
0
Answer:
===>> Step by step description to find first digit of a number.
Input a number from user. Store it in some variable say num .
Copy the value of num to some temporary variable say first = num .
Divide first by 10 , till first >= 10 .
Finally you are left with first digit in first variable.
Similar questions
Social Sciences,
4 months ago
Social Sciences,
4 months ago
English,
4 months ago
Science,
10 months ago
Math,
10 months ago
English,
1 year ago
Biology,
1 year ago