Python1 Min Read LetuscrackonJune 11, 2024 String – Vowels Position Sum Accept a String S as the input. The program must print the sum of the positions of the vowels in S. If the string does not contain…
Python1 Min Read LetuscrackonJune 11, 2024 Float Sum – Concatenation The program must accept N integers (where N is always even) as the input. The program must form N/2 float values by…
Python1 Min Read LetuscrackonJune 11, 2024 Divisible Sum Pair Count N numbers (A0, A1, A2, …, AN-1) are passed as input to the program. A positive integer D is also passed as input to the program.The…
C2 Min Read LetuscrackonJune 11, 2024 Max Equal Sum of Cube Numbers in N Stacks There are several cubes placed in N stacks. Each cube has a number K (where K is from 1 to 99) printed on all the sides. Each of these N…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Last X Digits Given two integers N and X as input, the program must print the sum of last X digits in the given integer N. Boundary Condition(s):1 <= N…
C2 Min Read LetuscrackonJune 11, 2024 Maximum Sum in Array – M out of N Given N positive integers, find the maximum sum S that can be obtained by adding exactly M out of the N integers. The program must print the…
Python1 Min Read LetuscrackonJune 11, 2024 Sum divisible by D Two numbers A and B are passed as input. The program must print yes if the sum of these two numbers A and B is divisible by a third number D.…
Python1 Min Read LetuscrackonJune 10, 2024 Diagonal Sum A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers along the diagonals. Input Format: The…
Python1 Min Read LetuscrackonJune 10, 2024 Matrix – Inside Numbers Sum A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers which are not along the edges. Input…
Python1 Min Read LetuscrackonJune 10, 2024 Difference between sum of odd and even digits A number N is passed as input. The program must find the difference between sum of odd and even digits in the number and print the difference.…