Python LetuscrackonMay 4, 2026 Print Alphabets Given two alphabets C1 and C2 as input, the program must print the alphabets from C1 to C2 (inclusive of C1 and C2). Boundary Condition(s):a…
Cognizant LetuscrackonMay 3, 2026 Function printPattern – CTS PATTERN You are required to complete the given code by implementing the logic for the function. You can click on Run anytime to check the…
Cognizant LetuscrackonMay 3, 2026 Function countOfUpperLower – 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…
Python LetuscrackonMay 2, 2026 Matrix Diagonal Pattern Given an integer matrix of size N*N as input, the program must print only the diagonal elements. The remaining elements must be replaced by *…
Python LetuscrackonMay 1, 2026 Crown Pattern The program must accept an odd integer N as the input. The program must print a grid of characters representing the crown pattern…
Cognizant LetuscrackonMay 1, 2026 Function printFullNumber – CTS PATTERN You are required to complete the given code by implementing the logic for the function. You can click on Run anytime to check the…
C LetuscrackonApril 30, 2026 Pattern – ZigZag Number Square 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.…
Cognizant LetuscrackonApril 30, 2026 Function matrixTopView – 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…
Python LetuscrackonApril 29, 2026 Sum of Prime Numbers Given an integer matrix of size M*N as input, the program must print the sum of prime numbers present in the given matrix. Boundary…
Cognizant LetuscrackonApril 29, 2026 Function printCornerElements – CTS PATTERN You are required to fix the logical error in the given code. You can click on Run button anytime to check the compilation/execution status of…