C Kickstart1 Min Read LetuscrackonJune 19, 2025 Smaller of Two Numbers (Using Ternary Operator) Accept two numbers X and Y as input. The program must print the smaller of two numbers as the output using ternary…
C Kickstart1 Min Read LetuscrackonJune 17, 2025 Check if X is Less 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 less than or equal to Y. Else the…
Python1 Min Read LetuscrackonNovember 27, 2024 Pattern Printing – Half Pyramid Using Asterisk The number of rows N is passed as the input. The program must print the half pyramid using asterisk *. Input Format:The first line contains N.…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Create Two Numbers Using Higher and Lower Halves of Each Digit The program must accept an integer N as the input. The task is to form two new numbers by using the upper half and lower half of each digit of…