Cognizant1 Min Read LetuscrackonJune 11, 2024 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…
Cognizant1 Min Read LetuscrackonJune 11, 2024 Function isPalindrome – 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 matrixTranspose – CTS PATTERN You are required to complete the given code by reusing existing functions. You can click on Run button anytime to check the…
Python1 Min Read LetuscrackonJune 11, 2024 Multi Layered Diamond Shaped Rhombus Pattern Given an odd value of N, the program must print multi layered rhombus pattern in diamond shapes whose side contains N, N-2, … 1 slashes…
Python1 Min Read LetuscrackonJune 11, 2024 Odd Even Row – Pattern Printing Given a value of N, where N is the number of rows, the program must print the character ‘*’ from left or right depending on…
Python1 Min Read LetuscrackonJune 11, 2024 Even Triangle Pattern Given an integer N as input, the program must print the pattern as mentioned in the Example Input/Output Section. Boundary Condition(s):2…
C Cognizant1 Min Read LetuscrackonJune 11, 2024 Function multiplyNum – CTS PATTERN You are required to correct the syntax of the given code without changing its logic. You can click on Compile & Run anytime to check the…
Python1 Min Read LetuscrackonJune 11, 2024 Forward and Reverse Order of Alphabets – Matrix Pattern Accept an integer N and an alphabet A as input. The program must print the pattern as shown in the Example Input/Output section below. (Note:…
C Cognizant1 Min Read LetuscrackonJune 11, 2024 getarraysum Logical Error – 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…
Programs Python1 Min Read Hephzibai EnstinonJune 11, 2024 Alternate 1s And 0s The program must accept an integer N as the input. The program must print YES if the binary representation of N contains 1’s and…