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

311 / 393

Write a program using command line argument to input two number and Calculate the Sum of numbers.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

312 / 393

Write a program using command line argument to input a string and print the string in reversed order..

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

313 / 393

Write a program using command line arguments to input a number and find that number is even or odd.

INPUT: 14
OUTPUT: Even

INPUT: 13
OUTPUT: Odd

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

314 / 393

Write a program using command line arguments to input two number and find the GCD/HCF of the number.

Condition:
If the entered number is less than 2 print the message and exit.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

315 / 393

Write a program using command line arguments to input two number and find the LCM of the number.

Condition:
If the entered number is less than 2 print the message and exit.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

316 / 393

Write a program using command line argument to input one number and print the Factorial of the number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

317 / 393

Write a C program using command line arguments which will take numbers as input and Find the average of the numbers.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

318 / 393

Write a program in C using command line argument to input one number and print the square root of the number without using sqrt().

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

319 / 393

Write a program in C using command line argument to print Your Name Using Command Line Argument.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

320 / 393

Write a program in C using command line argument to input one number and print Sum of digits of number.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:TCS

+ Contribute Programming Qs.

Baig
1