add

JavaF

Two Strings – L Joint

Given two strings S1 and S2, where the last letter of one of the strings is same as the first letter of the other string, print the output as…
JavaF

Numbers – Range Count

Given N distinct integers, the program must print the number of ranges R present. A range is defined as two or more consecutive integers.…
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…
CF

Characters – Factors of Length

The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…