add

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

Robot – Stair Climbing

There are N stairs to be climbed in a building. A robot can take only S different leaps each containing certain distinct…