C Python1 Min Read LetuscrackonJune 12, 2024 Interlace Odd Integers The Program must accept M and N integers as the input. The Program must interlace and print the odd integers among the M integers in forward…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function odd- 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…
Java1 Min Read LetuscrackonJune 11, 2024 Sort – Odd & Even Ascending An array of N numbers is passed as the input. The program must sort the odd numbers and even numbers separately in ascending order. The odd…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Even & Odd Numbers N numbers will be passed as input to the program. The program must print the sum of even numbers followed by the sum of odd numbers. Input…
C Java Python1 Min Read LetuscrackonJune 11, 2024 Print Odd Even Negative Integer Count Accept N integers and print the count of odd, even and negative integer count as the output. Input Format:The first line contains N.The second…
Python1 Min Read LetuscrackonJune 11, 2024 Odd Even Row – Pattern Printing Given a value of N, where N is the number of rows, the program must print the character ‘*’ from left or right depending on…
Python1 Min Read LetuscrackonJune 11, 2024 String Rotation Odd and Even Positions A string S and two integers M and N are passed as input. The program must rotate the characters present in the odd positions of the string M…
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.…
Python1 Min Read LetuscrackonJune 10, 2024 Remove the odd numbers A number N is passed as input. The program must remove all the odd digits in the passed number and display the number. If there are no…
Java1 Min Read LetuscrackonJune 10, 2024 First and Last Odd Digits Given N positive integers, the program must print the integers if the first and last digits are odd digits. Boundary Condition(s):1 <= N…