print

PythonF

Print Nth term in A.P

The first two terms (a1, a2) of a strictly increasing arithmetic progression (A.P) are passed as input. The program must print the Nth term…
PythonF

Print Xth Digit from Last

Two integers N and X are given as input. The program must print the Xth digit of N from last. Boundary Condition(s):1 <= N <= 9999999991…
PythonF

String – Print till char

A string S is passed as input along with a character C. The program must print the string value S till C is reached. Input Format:The first…
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…
CF

Print Digits – X and Y

The program must accept two integers X and Y as the input. The program must print all the digits from the unit digit of X…