count

PythonF

Family – Count Descendants

The program must accept the first and last names of N persons in a family. The last name of each person indicates the name of his/her father.…
PythonF

Robot No Movement Count

As a final year project certain students in a college have designed a Robot which can move front, back, left or right in a given rectangular…
CF

Flip Count – Matrix

The program must accept a matrix of size NxN as the input. The matrix contains only 0’s and 1’s. The program must transpose the…
PythonF

Integer – Count of Pairs

The program must an integer N as the input. The program must print the count C of pairs of positive integers X and Y so that the sum of X and…
PythonF

Colorful Flowers Count

Colorful Flowers Count: In a garden, there are N flower plants in a row. There are three types of plants which are given below.Type…