C Java Python1 Min Read LetuscrackonJune 12, 2024 Toggle Case – Reversal The program must accept a string S containing only alphabets and an integer X as the input. The program must toggle the case of the first X…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function printXMultiples – CTS PATTERN You are required to complete the given code by reusing existing functions. You can click on Run button anytime to check the…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function toggleBits – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
C Java Python3 Min Read LetuscrackonJune 12, 2024 Append Alphabet – Surrounding Integers The program must accept a matrix of size R*C containing integers and alphabets as the input. For each occurrence of the alphabet in…
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…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Bits Count – Y to X The program must accept two integers X and Y where X is always greater than or equal to Y. The program must print the count of bits C that…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Integer Pattern Printing – CTS PATTERN You are required to complete the given code by reusing existing functions. You can click on Run button anytime to check the…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Common Characters – Same Position The program must accept N string values are of equal length as the input. The program must print the common characters at the same position in…
C1 Min Read LetuscrackonJune 12, 2024 Pattern Printing – Diamond Numbers 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.…
C1 Min Read LetuscrackonJune 12, 2024 C – Type of triangle The length of three sides of triangle A,B,C will be passed as input. The program must print the type of the triangle. Input Format:First line…