Question
In which part of a function are local variables
typically declared?Solution
At the beginning of the function
- The number of marbles with Amit and Rahul is 14 more than with Kabir. Rahul and Kabir together have 4 more marbles than Amit. If Amit and Kabir together ha...
In a two-digit positive number, the digit in the tens place is one less than the square of the digit in the units place. Additionally, the difference be...
- The sum of five consecutive even integers is 90. Determine (cube of the smallest) minus (square of the largest).
The difference between two numbers is 60% of the larger number. If the smaller number is 10, find the larger number-
Total of Series of n terms 1 + 1 + 3 + 1 + 3 + 5 + 1 + 3 + 5 + 7 ……………………
In a group of three numbers first is double of second and half of third. The average of three numbers is 56. Find the difference between the first numb...
Find the sum of the first 25 natural numbers.
The difference between the value of the number increased by 20% and the value of the number decreased by 30% is 120. Find the number.
- In a class, the ratio of boys to girls present is 4:3. The number of girls who are absent is 21 which is 30% of the total number of students. If all boys a...
The digits of a two-digit number βNβ are reversed to form a new number βMβ. If M < N and N β M = 45, then which of the following maybe βNβ...