Given an integer ,n.Find the least posotive integer x made up only of one or more occurance of 9 and zero or more occurance od 0, such that ,x is a multiple of n
Answers
Answered by
5
Answer:
Smallest multiple of a given number made of digits 0 and 9 only. We are given an integer N. We need to write a program to find the least positive integer X made up of only digits 9's and 0's, such that, X is a multiple of N. Note: It is assumed that the value of X will not exceed 106.
mark it brainlist answer
Similar questions