Question
A shopkeeper bought two article A&B for a total of
rupees 3500. He marked Article A 140% above its cost price and sold it after giving a discount of 20% while he sold Article B at loss of 28%. If selling price of article A Rs. 252 more than that of article B, then find a difference between cost price of article A and B.Solution
Let cost price of article A is Rupees X. So cost price of Article B = Rs. (3500-x) Selling price of Article A = 0.80*2.4*x=1.92x Selling price of Article B = 0.72*(3500-x)= rs. (2520-0.72x). So 1.92x = 2520-0.72x+252 X=1050 Cost Price of Article A = rs. 1050 Cost Price of Article B = 3500-1050 = Rs. 2450 Desired difference = 2450-1050 Â Rs. 1400
Which symbol is used to comment a single line in shell scripts?
In shell scripting, $1 represents:
In a POSIX shell script, which construct correctly tests whether variable x is an empty string?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
Which ETL process step validates and cleans data before loading?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
Which command is used to read user input from the keyboard and store it in a variable?
In Bash, which syntax is used for arithmetic expansion?
Which character is used to denote a single-line comment in a shell script?