C Java Python2 Min Read LetuscrackonJune 12, 2024 Swap – Multiples of X and Y The program must accept N integers and two integers X and Y as the input. The program must swap the first occurring multiple of X and the last…
C1 Min Read LetuscrackonJune 11, 2024 Letters at position of multiples of a number A string of length L consists of characters is passed as input to the program. A given number N is also passed as the input to the program.…
Python1 Min Read LetuscrackonJune 11, 2024 First M multiples of N The number N is passed as input. The program must print the first M multiples of the number Input Format:The first line denotes the value of…
C1 Min Read LetuscrackonJune 10, 2024 Characters at multiples of X Example Input/Output 1:Input:abcdexyzwqpoolj5 Output:eqj Explanation: The multiples of 5 are like 5, 10, 15,… So the characters in these…