TCS Pune

Largest of Three

Read three integers and print the largest value.

Challenge workspace

3 automatic tests, including hidden tests.

Show hint

Start with the simplest condition, then check edge cases.

Results will appear here.

Example tests

Test 1Input
4 9 2
Expected output
9
Ready when you are

Need help with your laptop or computer?

Send us the model and fault details. Start your repair request online or contact TCS Pune directly.