Answer:
The decimal number is 32 and the Hexidecimal is 20
1 gigabyte =
8000000000 bits
And exponential form is 8x10^9
Answer:
- bool isDivisibleBy(int n, int d){
-
- if(n % d == 0){
- return true;
- }
- else{
- return false;
- }
- }
Explanation:
To check if n is divisible by d, we can use modulus operator such as %. If n % d equal to 0, this means n is divisible by d. Modulus operator is to calculate the remainder obtained from a division. If a number is divisible by another number, the remainder will be 0.
By making use of this concept we can create if and else statement to check if n % d is equal to 0, return true (divisible) else return false (not divisible).
Crop because position is definitely not it. Resize means to make larger or smaller. Cut is to delete something completely.
It’s a pipeline to transport natural gas.