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…
C1 Min Read LetuscrackonJune 9, 2024 Smallest Possible Odd Integer The program must accept an integer N as the input. The program must print the smallest possible odd integer using all the digits in N as the…
C1 Min Read LetuscrackonJune 9, 2024 Largest Possible Odd Integer The program must accept an integer N as the input. The program must print the largest possible odd integer using all the digits in N…