C1 Min Read LetuscrackonJune 10, 2024 Pattern – Half Pyramid Reverse Given a positive integer value N as input, print the pattern as in the Example Input/Output section. Input Format:The first line contains N.…
C1 Min Read LetuscrackonJune 9, 2024 K Alphabets in Reverse Order The program must accept a lowercase alphabet ch and an integer K as the input. The program must print K alphabets from ch in reverse…
Python1 Min Read LetuscrackonJune 9, 2024 Reverse and remove letters in vowel positions Sharon does not like vowels. So she wants to remove vowels from any string. But her friend Jennie loves vowels and wants to retain vowels in…
Java1 Min Read LetuscrackonJune 9, 2024 Reverse Number sign An integer value N is passed as the input. The program must reverse the sign of N and print -N as the output. Input Format:The first line…
C Java Python1 Min Read LetuscrackonJune 9, 2024 Reverse words Given a string S as the input Write a program to print the reverse order of the words in the string S. Input Format:The first line contains S.…
Java Python1 Min Read LetuscrackonJune 9, 2024 Reverse String Till Underscore String S is passed as the input to the program. S may or may not have a single underscore embedded in it. The program must reverse the String…
C1 Min Read LetuscrackonJune 8, 2024 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…