reverse

CF

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…
PythonF

Binary Reverse Pairs

The program must accept Noddintegers and print all possible pairs of integers (X, Y) where the binary representation of X…
PythonF

Last Two Bits in Reverse

The program must accept an integer N as the input. The program must print the last two bits of N in reversed order as the output. Example…
PythonF

Reverse Every Word

The program must accept a string S containing multiple words as the input. The program must reverse every word in the string S. Then the…
CF

Reverse Repeat N Alphabets

The program must accept a string S and repeat the alphabets from the end till a new string S2 of length N is formed. Then the program must…