## TCS Coding Practice Question | LCM of 2 Numbers

Given two numbers, the task is to find the LCM of two numbers using Command Line Arguments. LCM (Least Common Multiple) of two numbers is… Read More »

## TCS Coding Practice Question | Swap two Numbers

Given two numbers, the task is to swap the two numbers using Command Line Arguments. Examples: Input: n1 = 10, n2 = 20 Output: 20… Read More »

## TCS Coding Practice Question | Concatenate 2 Strings

Given two Strings, the task is to concatenate the two Strings using Command Line Arguments. Examples: Input: str1 = “hello”, str2 = “world” Output: helloworld… Read More »

## TCS Coding Practice Question | Greatest of 3 Numbers

Given three numbers, the task is to find the greatest of three numbers using Command Line Arguments. Examples: Input: A = 2, B = 8,… Read More »

## TCS Coding Practice Question | Checking Leap Year

Given a number N, the task is to check if N is a Leap Year or not using Command Line Arguments. Examples: Input: N =… Read More »

## TCS Coding Practice Question | Checking Prime Number

Given a number N, the task is to check if N is a Prime Number or not using Command Line Arguments. Examples: Input: N =… Read More »

## TCS Coding Practice Question | Prime Numbers upto N

Given a number N, the task is to find the Prime Numbers from 1 to N using Command Line Arguments. Examples: Input: N = 7… Read More »

## TCS Coding Practice Question | Sum of Digits of a number

Given a number, the task is to find the Sum of Digits of this number using Command Line Arguments. Examples: Input: num = 687 Output:… Read More »

## TCS Coding Practice Question | Palindrome String

Given a string, the task is to check if this String is Palindrome or not using Command Line Arguments. Examples: Input: str = “Geeks” Output:… Read More »

## TCS Coding Practice Question | Reverse a String

Given a string, the task is to reverse this String using Command Line Arguments. Examples: Input: Geeks Output: skeeG Input: GeeksForGeeks Output: skeeGroFskeeG Approach 1:… Read More »

## TCS Coding Practice Question | Reverse a Number

Given a number, the task is to reverse this number using Command Line Arguments. Examples: Input: num = 12345 Output: 54321 Input: num = 786… Read More »

## TCS Coding Practice Question | Check Palindrome Number

Given a number, the task is to check if this number is Palindrome or not using Command Line Arguments. Examples: Input: 123 Output: No Input:… Read More »

## Why learning C Programming is a must?

C is a procedural programming language. It was initially developed by Dennis Ritchie between 1969 and 1973. It was mainly developed as a system programming… Read More »

## Mensuration 3D | Set-2

Question 1: If the diagonal of cube is √18 cm, then its volume is Solution : Let the side of the cube is x cm.… Read More »

## Profit and loss | Set-2

Question 1: The cost price of 12 books is equal to the selling price of 10 books. The gain percent is : Solution : Given… Read More »