C Java LetuscrackonNovember 28, 2025 Word slot A Square Matrix of N Rows and N Columns is passed as the input and also a String S of Length L is passed as input. The matrix has an empty…
Python LetuscrackonNovember 28, 2025 Toggle Case Simon wishes to convert lower case alphabets to upper case and vice versa. Help Simon by writing a program which will accept a string value S…
Java Python LetuscrackonNovember 27, 2025 Next Prime Number A number N is passed as the input. The program must print the next immediate primenumber.Input Format:The first line will contain N.Output…
Python LetuscrackonNovember 27, 2025 Length of Line A line is denoted by the x and y co-ordinates of the two end points. The program must print the length of the line. Input Format:First line…
Python LetuscrackonNovember 26, 2025 Distinct Elements Count Two integer arrays of length L1 and L2 are passed as input. The program must print the sum of the distinct elements present in both the…
C Java Python LetuscrackonNovember 25, 2025 Arrange Alphabets – Descending Order A string S (with only LOWER case alphabets and length from 3 to 100) will be passed as input. The program should print the alphabets in the…
Python LetuscrackonNovember 25, 2025 Difference between LCM and HCF of two numbers Two whole numbers N1 and N2 are passed as input. The program must print the difference between the LCM and HCF of these two numbers. Input…
C Python LetuscrackonNovember 24, 2025 Price before GST The amount payable after GST – AP is applied is passed as the input. The GST rate R as percentage is also passed as the input.The…
Python LetuscrackonNovember 24, 2025 String Zig-Zag Pattern Given a string S and an integer N as the input, the program must split the string into groups whose size is N and print them as the output in…
C LetuscrackonNovember 23, 2025 Pattern Printing num & * Write a program that receives a number as input and prints it in the following format as shown below. Examples:Input:6 Output:…