Answer:
Explanation:
A civil Engineer builds buildings, roads and bridges.
Answer:
Check the explanation
Explanation:
The most significant bit is the sign bit (S), with 0 for positive numbers and 1 for negative numbers.
Normalize significand: 1.0 ? |significand| < 2.0
Always has a leading pre-binary-point 1 bit, so no need to represent it explicitly (hidden bit)
The following 9 bits represent exponent (E).(0 TO 511)
E is : actual exponent + Bias
Bias = 255;
The remaining 38 bits represents fraction (F).
Width of representation
smallest value :
Exponent: 000000001 because 000000000 is reserved
actual exponent = 1 – 255 = –254
Fraction: 000…00 \rightarrow significand = 1.0
Kindly check the attached image below to see the concluding solution to the question above.
Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(true) {
System.out.print("Enter an integer (0 to exit): ");
int num = scan.nextInt();
if (num == 0) break;
if (num%3 == 0 && num%5 == 0) {
System.out.printf("%d is divisable by both 3 and 5.\n", num);
}
else if (num%3 == 0 && num%5 != 0) {
System.out.printf("%d is divisable by 3 but not by 5.\n", num);
}
else if (num%3 != 0 && num%5 == 0) {
System.out.printf("%d is divisable by 5 but not by 3.\n", num);
} else {
System.out.printf("%d is not divisable by 3 or 5.\n", num);
}
}
scan.close();
}
}
Answer:
You copy and paste it
Explanation:
right click on the mouse then it will say copy, you right click on the mouse and click paste voila! it works! (If you're using word there are 3 options for pasting, Keep source formatting, Merge formatting and keep text only)