I think the order would be
10010001-1000001 (as the biggest amount)
100101100/101
10011x101
10010x11
10100+10101 (as the least amount)
hope this helps! :)
System.out.println(sumRange(12, 18)); // prints 105
System.out.println(sumRange(18, 12)); // prints 0
System.out.println(sumRange(18, 18)); // prints 18
}
public static int sumRange(int low, int high)
{
int sum = 0;
for (int val = low; val <= high; val++){
sum += val;
}
return sum;
}
}
<u>Answer</u>:
<em>B. Morals are individually held beliefs, while ethics are imposed by an
</em>
<em>organization.</em>
<u>Explanation</u>:
<em>Morals are the beliefs designed or created by group of people.</em> It is concerned whether an action is right or wrong. It is basically a lesson learned from a situation or a story. <em>It also convey truth. </em>
Ethics are set of rules designed by <em>external agent or organization</em> and it differs from place to place but they have basic ethics in common.
<em>It is a branch of philosophy. These are also not relative to the situation. Both moral and ethics are used interchangeably.
</em>