values

CF

HCF (GCD) of long values

The program must accept two long values X, Y and print their HCF (GCD). Input Format:The first line contains X and Y separated by a space.…
PythonF

Odd-Even Values Difference

Given a value of N positive integers, the program must print the difference between the sum of odd integers and the sum of even integers.…
PythonF

Double Array Values

Given N integers, the program must double the values and print them. Input Format:First line contains NSecond line contains N integers…
CF

Sum of Dice Values

Pairs of integers are passed as the input to the program. The integers in each pair represent values of two dice in a game. If both the values…
CF

Common Part in string values

Two string values S1 and S2 are passed as input. The last portion of S1 will be the first portion of S2. The program must print this common…