add

CF

Product – Swap Unit Digits

The program must accept two integers X and Y as the input. The program must print the product of X and Y after swapping their unit digits as…
CF

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.…
CF

Distance Travelled + or –

The program must accept a string S representing the direction of movement as the input. The string S contains only the…
CF

Same Adjacent – Asterisks

The program must accept a string S as the input. The program must print YES if the adjacent characters of each asterisk (*) are same. Else the…