Answer the question
In order to leave comments, you need to log in
How to remove a number in pascal?
Given a five digit number. What is the number you get if you remove the penultimate digit?
For example 15978 -> 1598.
Many thanks in advance!
Answer the question
In order to leave comments, you need to log in
Convert the number to a string, collect a new string from the elements of the old one. Convert string back to number. For example it is possible so. Or find the first three digits (through division) and the last (through the remainder of the division). Then through addition and multiplication you get the result.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question