LetuscrackonJune 7, 2024 Sorted or Not Accept three integers A, B and C as the input. If A, B and C are in ascending order or in descending order then print…
LetuscrackonJune 7, 2024 Absolute Difference Multiples The program must accept two integers N1 and N2 as the input. The program must print the first 10 multiples of their…
LetuscrackonJune 7, 2024 Multiple of 30 Plus 1 or 2 The program must accept an integer N as the input. The program must print YES if N is exactly one or two more than a…
LetuscrackonJune 7, 2024 Same or Different – Characters The program must accept three characters ch1, ch2 and ch3 as the input. The program must print Same if the…
LetuscrackonJune 7, 2024 Positive or Negative Based Multiples Accept an integer A as the input. If A is a positive integer then print the first five multiples of the unit digit of A as the…
LetuscrackonJune 7, 2024 Same Numerator or Denominator The program must accept two fractions as the input. Then the program must print yes as the output if the numerators of two fractions…
LetuscrackonJune 6, 2024 Check If Tenth Digit is Odd or Even (Using if-else) The program must accept an integer N as the input. The program must print Odd if the tenth digit is odd. Else the…
LetuscrackonJune 6, 2024 Compare Two integers with Logical NOT and AND Operators (Boolean ) Accept two integers X and Y as the input. The program must print 1 if X and Y are not equal and also Xis greater…
LetuscrackonJune 6, 2024 Check if X is Greater than or Equal to Y (Using Ternary Operator) Accept two numbers X and Y as the input. The program must print YES if X is greater than or equal to Y. Else the…
LetuscrackonJune 6, 2024 Check if X is Less than Y (Boolean) Accept two integers X and Y as input. The program must print 1 if X is less than Y. Else…