Cognizant LetuscrackonMay 8, 2026 Function decreasingSeqWithDecDiff – 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 LetuscrackonMay 8, 2026 Pointers – Total Marks Marks scored in three subjects M1, M2, M3 are given as input. The below program prints the total marks by invoking the function…
Cognizant LetuscrackonMay 7, 2026 Function incrementDigitsByTwo – 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 7, 2026 Mirror Pattern – Ascending Descending Order Accept an integer N as the input. The program must print the mirror pattern as shown in the Example Input/Output section below. Boundary…
C Java Python LetuscrackonMay 6, 2026 Print Odd Even Negative Integer Count Accept N integers and print the count of odd, even and negative integer count as the output. Input Format:The first line contains N.The second…
Cognizant LetuscrackonMay 6, 2026 Function printNalphaCirculary – 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 5, 2026 Function sumOfUnitDigits – 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…
Cognizant LetuscrackonMay 5, 2026 Function printString – CTS PATTERN You are required to complete the given code by reusing the existing functions. You can click on Run button anytime to check the…
C Java Python LetuscrackonMay 4, 2026 Convert Decimal to Binary Given a number N in decimal format, the program must print the binary representation of the number N. Input Format:The first line contains N.…
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…