Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

61 / 393

Write a program to find the given number is even or odd.

INPUT: 14
OUTPUT: Even

INPUT: 13
OUTPUT: Odd

Input : NA

Output : NA

|  Basics | | | |  Fresher

62 / 393

Write a program to create a calculator using switch cases.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

63 / 393

Write a program to check a String is palindrome or not? How many minimum number of control variable you need.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro Virtusa

64 / 393

Write a program to reverse a string using minimum control variable and minimum iteration and with and without temporary variable.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

65 / 393

Write a program to print pattern of numbers as below:

1
121
12321

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

66 / 393

Write code for swapping two variables without using 3rd variable.

Input : NA

Output : NA

|  Basics | | | |  Fresher

67 / 393

Write a program to print prime numbers upto 10.

Input : NA

Output : NA

|  Basics | | | |  Fresher

68 / 393

Write a program to check Armstrong number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

69 / 393

Write a program to print reverse of a number?

Input : NA

Output : NA

|  Basics | | | |  Fresher

70 / 393

Write a program to check whether the entered year is leap year or not?

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Wipro

+ Contribute Programming Qs.

Baig
1