C LetuscrackonNovember 19, 2025 Integer – Sum of Digits The program must accept an integer value N as a command line argument and print the sum of the digits in N.Example Input/Output…
C LetuscrackonNovember 18, 2025 Matrix Pattern Printing – First / Last Higher Given an integer N as the input, print the pattern as given in the Example Input/Output section. Input Format: The first line contains N.…
C LetuscrackonNovember 18, 2025 Matrix – Sum of Edge Elements The input elements of R*C matrix is passed as the input (R is the number of rows and C is the number of columns in the matrix. The program…
Java LetuscrackonNovember 17, 2025 Alternate letters in uppercase A string S (only alphabets) is passed as input. The printed output should contain alphabets in odd positions in each word in uppercase and…
Java Python LetuscrackonNovember 17, 2025 Count the primes in a range Two whole numbers N1 and N2 are passed as input. The program must print the number of primes present between N1 and N2 (the range is inclusive…
C LetuscrackonNovember 16, 2025 Pattern Printing – Start Number Given an integer N as the input and a start integer S, print the pattern as given in the Example Input/Output section. Input Format: The first…
Java LetuscrackonNovember 16, 2025 First Repeating Character A string S is passed as the input. S has at least one repeating character. The program must print the first repeating character C. Input…
C Python LetuscrackonNovember 15, 2025 Morning Walk Distance A man in order to reduce his weight walks along the boundary of a rectangular plot every morning. Depending on his energy level he walks for N…
C LetuscrackonNovember 15, 2025 Stock Buy & Sell Multiple Times – Maximum Profit Example Input/Output 1: Input:10 5 8 10 12 9 6 14 21 15 10 Output:22
Java Python LetuscrackonNovember 14, 2025 Reverse String Till Underscore String S is passed as the input to the program. S may or may not have a single underscore embedded in it. The program must reverse the String…