Computer Science, asked by dastitli700, 9 hours ago

Write a program to print the total cost of 5 pen and 6 pencil if the cost of 1 pen is 10 and 1 pencil is 8

c++ program

pls tell me the answer first I mark you as brainliest ​

Answers

Answered by pandeyarav123456
0

Answer:

answer is 58 upon 63 E and is equals to 88

Answered by ItzEnchantedBoy
0

Answer:

Answer:

Given :-

Selling Price is Rs 1500 and gain percentage is 20%.

To Find :-

What is the cost price.

Formula Used :-

\clubsuit Profit or Gain Percentage Formula :

\footnotesize\mapsto \sf\boxed{\bold{\pink{Gain\% =\: \bigg\lgroup\dfrac{Selling\: Price - Cost\: Price}{Cost\: Price}\bigg\rgroup \times 100}}}

Solution :-

Let,

\mapsto \sf\bold{\purple{Cost\: Price =\: Rs\: x}}

Given :

\bigstar\: \: \bf{Selling\: Price =\: Rs\: 1500}

\bigstar\: \: \bf{Gain\% =\: 20\%}

According to the question by using the formula we get,

\longrightarrow \sf 20 =\: \dfrac{1500 - x}{x} \times 100

\longrightarrow \sf 20 =\: \dfrac{(1500 - x) \times 100}{x}

\longrightarrow \sf 20 =\: \dfrac{150000 - 100x}{x}

By doing cross multiplication we get,

\longrightarrow \sf 20x =\: 150000 - 100x

\longrightarrow \sf 20x + 100x =\: 150000

\longrightarrow \sf 120x =\: 150000

\longrightarrow \sf x =\: \dfrac{15000\cancel{0}}{12\cancel{0}}

\longrightarrow \sf x =\: \dfrac{\cancel{15000}}{\cancel{12}}

\longrightarrow \sf x =\: \dfrac{1250}{1}

\longrightarrow \sf\bold{\red{x =\: Rs\: 1250}}

{\small{\bold{\underline{\therefore\: The\: cost\: price\: is\: Rs\: 1250\: .}}}}

▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃

EXTRA INFORMATION :-

\sf \bold{\pink{Profit =\: SP - CP}}

\\

\sf \bold{\pink{Loss =\: CP - SP}}

\\

\sf\bold{\pink{CP =\: \bigg(\dfrac{100}{100 + Gain\%}\bigg) \times SP}}

\\

\sf\bold{\pink{CP =\: \bigg(\dfrac{100}{100 - Loss\%}\bigg) \times SP}}

\\

\sf\bold{\pink{SP =\: \bigg(\dfrac{100 + Gain\%}{100}\bigg) \times CP}}

\\

\sf\bold{\pink{SP =\: \bigg(\dfrac{100 - Loss\%}{100}\bigg) \times CP}}

Similar questions