C1 Min Read LetuscrackonJune 10, 2024 Five Numbers – Number without Pair Five numbers a,b,c,d,e are passed as input to the program. Among these 5 numbers, 2 pairs are present and one is without pair. Print that…
C1 Min Read LetuscrackonJune 10, 2024 Product – Swap Unit Digits The program must accept two integers X and Y as the input. The program must print the product of X and Y after swapping their unit digits as…
C1 Min Read LetuscrackonJune 10, 2024 Pattern – Half Pyramid Reverse Given a positive integer value N as input, print the pattern as in the Example Input/Output section. Input Format:The first line contains N.…
C Dynamic Programming2 Min Read LetuscrackonJune 9, 2024 String & Asterisks Zig-Zag Pattern The program must accept a string S and an integer N as the input. The program must form a character matrix of size NxN with the asterisks (*).…
C1 Min Read LetuscrackonJune 9, 2024 Distance Travelled + or – The program must accept a string S representing the direction of movement as the input. The string S contains only the…
C1 Min Read LetuscrackonJune 9, 2024 Replace Vowels – Circular Fashion The program must accept a string S as the input. The program must replace all the vowels in S by the…
C1 Min Read LetuscrackonJune 9, 2024 Same Adjacent – Asterisks The program must accept a string S as the input. The program must print YES if the adjacent characters of each asterisk (*) are same. Else the…
C1 Min Read LetuscrackonJune 9, 2024 Characters – Factors of Length The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…
C1 Min Read LetuscrackonJune 9, 2024 Mixed Series – From Xth term to Yth term The program must accept the first four terms of a mixed series and two integers X and Y as the input. The program must print all the terms…
C1 Min Read LetuscrackonJune 9, 2024 Strict Professor – Class Cancellation In a college , a professor is strict and mandates that at least M students out of the total N students must arrive on time to his…