Answer: 1,500,000 bytes.
Explanation:
If we assume that we have an image of 4000 pixels (picture elements) wide, by 3000 pixels height, a complete uncompressed image will be represented by 4000*3000= 12,000,000 pixels.
Now, if we are talking of a binary image, this means that each pixel will have, as a maximum, two possible values, so we will need only one bit per pixel.
This means that we will need to store 12,000,000 bits.
As we know, 1 byte=8 bits.
So, we will need 12,000, 000/8 bytes ⇒ 1,500,000 bytes in order to store an uncompressed binary image of size 4000 x 3000 pixels.
Answer:
Hurray, we won the tournament!
Explanation:
hurray is an interjection just like yikes, uh-oh, and others
Answer:
while (Num>=0) {
System.out.println("enter a another number");
Num = in.nextInt();
}
Explanation:
The complete java code prompting a user to enter a number until a negative number is entered is given below:
import java.util.Scanner;
public class num6 {
public static void main (String [] args) {
Scanner in = new Scanner(System.in);
System.out.println("enter a number");
int Num = in.nextInt();
while (Num>=0) {
System.out.println("enter a another number");
Num = in.nextInt();
}
System.out.println("Done.");
return;
}
}