LetuscrackonJune 12, 2024 Sort the String Values Based on Length The program must accept N string values as the input. The program must sort the string values based on the length of each string…
LetuscrackonJune 12, 2024 HCF (GCD) of long values The program must accept two long values X, Y and print their HCF (GCD). Input Format:The first line contains X and Y separated by a space.…
LetuscrackonJune 11, 2024 Interchange largest and smallest values Given N distinct integer values, the program must swap the position of the largest and smallest integer values. Input Format:The first line…
LetuscrackonJune 11, 2024 Odd-Even Values Difference Given a value of N positive integers, the program must print the difference between the sum of odd integers and the sum of even integers.…
LetuscrackonJune 10, 2024 Double Array Values Given N integers, the program must double the values and print them. Input Format:First line contains NSecond line contains N integers…
LetuscrackonJune 10, 2024 Sum of Dice Values Pairs of integers are passed as the input to the program. The integers in each pair represent values of two dice in a game. If both the values…
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…
LetuscrackonJune 8, 2024 Common Part in string values Two string values S1 and S2 are passed as input. The last portion of S1 will be the first portion of S2. The program must print this common…
LetuscrackonJune 7, 2024 Integer – Place Values The program must accept an integer N as the input. The program must print each place value in the integer N as the output. Boundary…
LetuscrackonJune 7, 2024 At least 1 Vowel – N String Values The program must accept N string values as the input. The program must print yes if all the N string values contain at least 1 vowel. Else the…