Hello,
function minmax(int p1,int p2,int p3, int adr_big, int adr_small)
{ int mini=p1,maxi=p1;
if (p1>p2) {mini=p2;}
else {maxi=p2;};
if (p3>maxi) maxi=p3;
if (p3<mini) mini=p3;
*adr_big=maxi;
*adr_small=mini;
};
// main
int a=31,b=5,c=19,big,small;
minmax(a,b,c,&big,&small);
They are all pretty easy all you do is multiply the cost by the amount of things you buy. For example number 4 your variables are cost (c) and songs (s). Your equation is c•s so $0.99 • s. 50 songs would be .99 • 50 which is $49.50
Answer:
3/4
Step-by-step explanation:
dividing by a fraction is the same as multiplying by its reciprocal.
Therefore,
(1/2) / (2/3) = (1/2) * (2/3) = (3/4)
The answer is B, divide the rate by the unit to simplify