Must Solve 100 Programs for Campus Placement Part - 4/104 months ago

**1) Print - 1 to 222**

The program must print from 1 to 222, with the numbers separated by a space.

Click the link below to solve this program

**http://www.skillrack.com/solve/7897**

**2) Sum - Format Print**

The program must print the sum of two numbers as per the format given in the Example Input/Output Section.

**Example Input/Output 1:**

Input:

5 20

Output:

5+20=25

Click the link below to solve this program

**http://www.skillrack.com/solve/7899**

**3) Minutes to Seconds**

The program must accept minutes and convert into seconds.

** Note:** 1 minute = 60 seconds

**Example Input/Output 1:**

Input:

5

Output:

300

**Example Input/Output 2:**

Input:

4

Output:

240

Click the link below to solve this program

**http://www.skillrack.com/solve/7894**

**4) Century or Half-Century**

The runs scored by a batsman is passed as the input. The program must print if he has scored a Century or Half-Century.

** Note: **If the runs is from 50 to 99, it is Half-Century. Else if the runs is 100 or above it is Century. Also the value of runs will be greater than or equal to 50.

**Example Input/Output 1:**

Input:

55

Output:

Half-Century

**Example Input/Output 2:**

Input:

50

Output:

Half-Century

**Example Input/Output 3:**

Input:

102

Output:

Century

Click the link below to solve this program

**http://www.skillrack.com/solve/7890**

**5) Print - 111 to 2**

The program must print from 111 to 2 with the values separated by a space.

Click the link below to solve this program

**http://www.skillrack.com/solve/7900**

**6) One to Five - Words**

The program must accept a number from 1 to 5 and print it as a word as given below.

1 - One

2 - Two

3 - Three

4 - Four

5 - Five

**Example Input/Output 1:**

Input:

3

Output:

Three

**Example Input/Output 2:**

Input:

1

Output:

One

Click the link below to solve this program

**http://www.skillrack.com/solve/7896**

**7) Ten Multiples**

The program must accept a number and print it's first ten multiples.

**Example Input/Output 1:**

Input:

3

Output:

3 6 9 12 15 18 21 24 27 30

**Example Input/Output 2:**

Input:

5

Output:

5 10 15 20 25 30 35 40 45 50

Click the link below to solve this program

**http://www.skillrack.com/solve/7903**

**8) String - Print Twice**

The program must accept a string value and print it twice.

**Example Input/Output 1:**

Input:

SkillRack

Output:

SkillRackSkillRack

Click the link below to solve this program

**http://www.skillrack.com/solve/7895**

**9) Square - Format Print**

The program must print a number and print the square as per the format given in the Example Input/Output Section.

**Example Input/Output 1:**

Input:

5

Output:

Square of 5 is 25

**Example Input/Output 2:**

Input:

10

Output:

Square of 10 is 100

Click the link below to solve this program

**http://www.skillrack.com/solve/7898**

**10) 1 to 100 - Hyphen Separated**

The program must print from 1 to 100 with the values separated by a hyphen.

Click the link below to solve this program

**http://www.skillrack.com/solve/7901**