C Java Python1 Min Read LetuscrackonJune 12, 2024 Add Square of Each Digit to the Number Given a number as the input, compute the new number by adding the square of each of its digits to the original number. If the input is not a…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Numbers and Asterisks – V Pattern The program must accept an integer N as the input. The program must print the desired pattern as shown in the Example Input/Output…
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…