A factorial of a number is the product of all positive integers less than or equal to that number.
For example, the factorial of 5 is: 5 × 4 × 3 × 2 × 1 = 120.
In Java, this can be achieved using a for loop, where we multiply the number iteratively.
Below is the Java program to compute the factorial of 5:
This program initializes a variable factorial to 1 and multiplies it by each number from 1 to 5 using a for loop.
Finally, the result is printed on the screen.
+--------+--------------+------+--------+-------+ | GCODE | GNAME | SIZE | COLOUR | PRICE | +--------+--------------+------+--------+-------+ | 111 | TShirt | XL | Red | 1400 | | 112 | Jeans | L | Blue | 1600 | | 113 | Skirt | M | Black | 1100 | | 114 | Ladies Jacket| XL | Blue | 4000 | | 115 | Trousers | L | Brown | 1500 | | 116 | Ladies Top | L | Pink | 1200 | +--------+--------------+------+--------+-------+Write SQL commands for the following: (a) To display names of those garments that are available in ‘L’ size.

\( \left[ \tan^{-1}\sqrt{3} - \sec^{-1}(-2) \right] \) is equal to :
From the following Statement of Profit and Loss of Horizon Ltd., for the year ended 31st March, 2025, prepare a Common Size Statement of Profit and Loss :
| Particulars | Note No. | 2024 - 25 | 2023 - 24 |
|---|---|---|---|
| Revenue from operations | Rs 20,00,000 | Rs 10,00,000 | |
| Cost of materials consumed | Rs 10,00,000 | Rs 5,00,000 | |
| Employee benefit expenses | Rs 5,00,000 | Rs 2,50,000 | |
| Income Tax Rate | 40% | 30% |