Cognizant1 Min Read LetuscrackonJune 12, 2024 Function printKrepeatingChar – CTS PATTERN You are required to complete the given function. You can click on Run anytime to check the compilation/execution status of the program. You…
C1 Min Read LetuscrackonJune 12, 2024 Pattern Printing – 005 Given an integer N as the input, the program must print 2N lines pattern output as described in the Example Input/Output given below. Input…
C1 Min Read LetuscrackonJune 12, 2024 Reverse String – Vowels Retain Same Position Given a string S1 as the input, the program must reverse the string, keeping the vowels in the same position. Input Format:The first line…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function sumOfNonPrimeNumber – 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…
C Java Python TCS CodeVita6 Min Read LetuscrackonJune 12, 2024 Food Belt – TCS CodeVita Restaurants are coming up with new technologies to serve food. The food is being served to customers using food belts. The conveyor belt is…
Cognizant2 Min Read LetuscrackonJune 12, 2024 Function printSum – 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 waterImageOfMat – CTS PATTERN You are required to complete the given function. You can click on Run anytime to check the compilation/execution status of the program. You…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function maxReplace – 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 12, 2024 Function removeZero – 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 12, 2024 Function printRightTriangle – 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…