Question
How do you access the value of a variable named
`USERNAME` in a shell script?Solution
`$USERNAME`
The average of five even numbers is 68. If we replace two of these even numbers, 84 and 92, with a single even number X, the new average decreases by 4....
- The average of two consecutive even numbers is 77. If the smaller number is increased by 30% and the larger number is decreased by 30%, then find the diffe...
Average run scored by a batsman in 16 innings is 40. In next 6 innings, he scored runs with an average of ‘x’ so that his overall average increases ...
Average age of 25 students is 15 years. If 5 students leave the class, the average age decreases by 1 year. Find the average age of the students who lef...
The average age of (x + 4) players in a team is 18 years. If a 38 years old coach joins the team, the average increases by 1 year. Find x% of 500.
- The average of two numbers is 5 more than the smaller number among them. If the greater number is 60% more than the smaller number, then find the sum of th...
A mixture contains oil and water in the ratio 7:5. When 70% of this mixture is replaced with 153 litres of water, the ratio becomes 8: 13. Than, what wi...
In a class of 30 students, the average age each student of the class is 21 years. 4 more students join the class such that the average age of the class ...
The average age of 21 children is 30 years. 4 new children, whose average age is 15 years, join them. Find the average age of the 25 children. Â
A man purchases cold-drink for three consecutive years. In the first year, he purchases cold-drink at the rate of ₹ 8.00 per litre, in the second year...