Cognizant1 Min Read LetuscrackonJune 12, 2024 Function checkEvenMonthFirstFiveDays – 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 Java1 Min Read LetuscrackonJune 12, 2024 Pattern Printing N – Sequence 001 The program must accept an integer N and print the pattern as shown in the Example Input/Output. Input Format: The first…
Python1 Min Read LetuscrackonJune 12, 2024 1 to N – Mixed Pattern Printing The program must accept a number N and print the numbers from 1 to N with the first number being 1, second number being N, third being 2 and…
C1 Min Read LetuscrackonJune 11, 2024 String Tree Pattern Given a String S as the input, the program must print the characters present in the string S as shown in the Example…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function lengthOfLastWord – 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…
Python1 Min Read LetuscrackonJune 11, 2024 Zero Arrow Pattern Printing The program must accept an integer N as the input. The program must print the pattern of (2*N)-1 lines based on the…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function getMaxLengthOfContinuousChar – CTS PATTERN You can click on Run anytime to check the compilation/execution status of the program. You can use printf to debug your code. The submitted…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function printArrayCircular – 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…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function printLCM – 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 11, 2024 Function compressString – 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…