Answer:
7^2
Step-by-step explanation:
7*7=49
4^3=43
49>43
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);
If it is a ratio of 3:5 you are dividing 480 into 8 parts (3+5).
So divide 480 by 8: 480/8 = 60
Then the ratio is (3x60):(5x60) or 180:300
To check it is correct, add up the two parts to see that they come to 480:
180+300 = 480. All good.
Hope this helps
Answer:
Siti's money = RM 430
David = RM 1,290
Farid = RM 280
Step-by-step explanation:
Let
Siti's money = x
David = 3x
Farid = x - 150
Total of their money = RM 2 000
x + 3x + (x - 150) = 2000
4x + x - 150 = 2000
5x = 2000 + 150
5x = 2,150
x = 2,150/5
x = RM 430
Siti's money = x
= RM 430
David = 3x
= 3(430)
= RM 1,290
Farid = x - 150
= 430 - 150
= RM 280