i have been given task in university and i still have no clue how to solve this :(
Given a natural number n. Print out the number obtained from the given number by throwing the digit k. (For example, if n = 12025 and k = 2, get 105). The division of a number into figures must be numerical.
(Create a program for both C ++ and Python. When logically incorrect data is entered, the program must issue a corresponding statement. It must be possible to execute the program repeatedly.)
No only this is given, only thing what im thinking about is maybe when you take out all digits 2 from this n=12025 then maybe you get this 105. i clearly have no clue . x_x