Question
The first shirt is sold at twice the selling price of
the second shirt. The first shirt is sold at 8% profit and the second shirt is sold at a 3% loss. What is the overall percentage profit on the shirts (Rounded off to two decimal places)?Solution
Second shirt- Cost price (C2) Selling price (SP = 0.97C2) First shirt- Selling price (S₁ = 1.94C2) Cost price (C₁ =1.94C2/1.08 ≈ 1.796C2) Total cost price: C1+C2=1.796C2+C2 = 2.796C2 Total selling price: S1+S2 =1.94C2+0.97C2 = 2.91C2 Overall profit: =2.91C2 - 2.796C2 = 0.114C2 Overall percentage profit- =0.114C2 / 2.796C2 × 100 = 4.08%
Which command is used to display the current working directory?
Which command is used to check the current working directory in Linux?
In shell scripting, which symbol represents all files in the current directory?
In shell scripting, which command is used to read input from the user?
What is the exit status code of a successfully executed command in Linux shell?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
Which construct replaces a command with its output in a POSIX shell?
Which operator is used to append output to a file?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
Which operator is used for string equality comparison within `test` or `[` commands in shell scripting?