Filter interviews by
Be the first one to contribute and help others!
Yes, I know C language. Here's a program to print numbers from 1 to 10 excluding 5.
Use a loop to iterate from 1 to 10
Inside the loop, check if the current number is equal to 5
If it is not equal to 5, print the number
The question was about finding the average of a set of numbers.
I approached the problem by first summing all the numbers in the set.
Then, I divided the sum by the total number of elements in the set to find the average.
I used a loop to iterate through the set and keep track of the sum and count of elements.
based on 5 reviews
Rating in categories
Larsen & Toubro Limited
Reliance Infrastructure
GMR Group
IRB Infrastructure