C2 Min Read LetuscrackonNovember 13, 2025 Interlace odd / even from A to B Two numbers A and B are passed as input. The program must print the odd numbers from A to B (inclusive of A and B) interlaced with the even…
C1 Min Read LetuscrackonNovember 12, 2025 Stock Buy & Sell Once – Maximum Profit Input:7 50 100 40 60 70 50 80Output:50
C1 Min Read LetuscrackonNovember 12, 2025 Reverse Order – print N to 1 A number N is passed as the input. The program must print the numbers from N to 1 (inclusive of N). Input Format: The first line denotes the…