## GUPTA MECHANICAL

IN THIS WEBSITE I CAN TELL ALL ABOUT TECH. TIPS AND TRICKS APP REVIEWS AND UNBOXINGS ALSO TECH. NEWS .............

## Counting Words CodeChef Solution | Solution Codechef

Harsh was recently gifted a book consisting of $N$ pages. Each page contains exactly $M$ words printed on it. As he was bored, he decided to count the number of words in the book.

Help Harsh find the total number of words in the book.

### Input Format

• The first line of input will contain a single integer $T$, denoting the number of test cases.
Solution Click Below:-  👉
👇👇👇👇👇

• Each test case consists of two space-separated integers on a single line, $N$ and $M$ — the number of pages and the number of words on each page, respectively.

### Output Format

For each test case, output on a new line, the total number of words in the book.

Counting Words CodeChef Solution

MATH1 Enrolment CodeChef Solution

Group Assignment CodeChef Solution

Army Training CodeChef Solution

Sort the String CodeChef Solution

Prime Xor CodeChef Solution

Vowel Anxiety CodeChef Solution

Array sorting CodeChef Solution

### Constraints

• $1\le T\le 100$
• $1\le N\le 100$