Python1 Min Read LetuscrackonJune 12, 2024 Employees – Working Time The program must accept the name, in-time and out-time (in 24-hr format HH:MM) of N employees as the…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function tenthDigitProduct – 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 12, 2024 Function numberTrianglePattern – 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 Java Python1 Min Read LetuscrackonJune 12, 2024 Difference – Sum of Odd and Even Digits Given a maximum of hundred digits as the input. The program must print the difference between the sum of odd and even digits as the output. If…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Consonant – Vowel Pairs The program must accept a string S as the input. The program must print all the pairs having a consonant followed by a vowel in the string S…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Toggle Case – Reversal The program must accept a string S containing only alphabets and an integer X as the input. The program must toggle the case of the first X…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function printXMultiples – 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 toggleBits – 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 Java Python3 Min Read LetuscrackonJune 12, 2024 Append Alphabet – Surrounding Integers The program must accept a matrix of size R*C containing integers and alphabets as the input. For each occurrence of the alphabet in…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Swap – Multiples of X and Y The program must accept N integers and two integers X and Y as the input. The program must swap the first occurring multiple of X and the last…