Python1 Min Read LetuscrackonApril 9, 2025 Sum of Digits – Divisible by K Sum of Digits – Divisible by K: The program must accept two integers N and K as the input. The program must print…
Python1 Min Read LetuscrackonMarch 31, 2025 Four Digit Integers Divisible Four Digit Integers Divisible: The program must accept a string S containing only digits and an integer K as the input.…
Python1 Min Read LetuscrackonNovember 4, 2024 Multiple of N till divisible by X Two numbers N and X are passed as input. The program must print the multiples of N (starting from 1) and must stop when the multiple is…
Python1 Min Read LetuscrackonJune 12, 2024 Array Elements – Max Divisible by D An array of N positive integers are passed as input. D which is a positive integer is also passed as the input. The program must print the…
Python1 Min Read LetuscrackonJune 11, 2024 N numbers divisible by X or Y Three integers X, Y and N are passed as input. The program must print the first N values from 1 which are divisible by X or Y. Boundary…
Python1 Min Read LetuscrackonJune 11, 2024 Divisible Sum Pair Count N numbers (A0, A1, A2, …, AN-1) are passed as input to the program. A positive integer D is also passed as input to the program.The…
Python1 Min Read LetuscrackonJune 11, 2024 Sum divisible by D Two numbers A and B are passed as input. The program must print yes if the sum of these two numbers A and B is divisible by a third number D.…
Python1 Min Read LetuscrackonJune 10, 2024 Divisible weight of a number A number N’s divisible weight is defined as the count of numbers from A1 to Ax which divide it without leaving a remainder. Input…
C Python1 Min Read LetuscrackonJune 8, 2024 First Five Values Divisible Three numbers A, B and C are passed as input. The program must print the first five values that are divisible by A, B and C.Input Format:The…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Form Integers – Divisible by 25 The program must accept a string S representing a number. The string S contains digits, underscores and X‘s. The program…