C Java Python2 Min Read LetuscrackonDecember 12, 2025 Matrix – Same Characters The program must accept a character matrix of size NxN as the input. The program must print YES if all the characters in the diagonals (both…
Java1 Min Read LetuscrackonDecember 10, 2025 Count of Consonants in a String Given a string,program must print the count of Consonants in a string Example input/output 1: Input:abcde output:3 Example input/output 2:…
Java1 Min Read LetuscrackonDecember 9, 2025 Betting game – Diceroll In a betting game involving the roll of a dice, Sandeep gains Rs.X if an odd number turns up and he loses Rs.Y is an even number turns up. The…
Java1 Min Read LetuscrackonDecember 9, 2025 Next Number Palindrome Given a number N, the program must print the next palindromic number P. Boundary Conditions:9 < N < 100000 Input Format:First…
Java1 Min Read LetuscrackonDecember 6, 2025 Convert rupees to paise A floating point value F indicating the amount in rupees is passed as input. The program must print the corresponding value in paise.Note: 1…
Java1 Min Read LetuscrackonDecember 6, 2025 Reverse Number sign An integer value N is passed as the input. The program must reverse the sign of N and print -N as the output. Input Format:The first line…
C Java Python1 Min Read LetuscrackonDecember 4, 2025 Reverse words Given a string S as the input Write a program to print the reverse order of the words in the string S. Input Format:The first line contains S.…
C Java1 Min Read LetuscrackonNovember 30, 2025 Leap Year A year Y will be passed as input. The program must find if the given year is a leap year or not. If it is a leap year, print yes…
C Java1 Min Read 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…
Java Python1 Min Read 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…