Answer:
A. the museum can choose a heuristic approach which will achieve a lossless compression, but they cannot be sure that it is the most efficient compression for each image
C. algorithms for lossless compression exist, so the museum can use those to compress the image
Explanation:
Answer:
White light
Explanation:
The lights are white in the classroom
There are the secound hand , the hour hand, the minute hand, and the numbers on the face of the clock.
Answer:
public static void dashedLinses(int num){
if(num>0){
for(int i=1; i<=num; i++){
System.out.print("-");
}
System.out.println();
}
}
}
Explanation:
- The function is written with Java programming language
- As required by the question, it accepts an int parameter and returns nothing.
- An if statement is used to check the condition of n greater than 0
- Using a for loop, it outputs a line whose length is determined by the value of the parameter
- A complete code with the main method is given below
<em>public class num9 {</em>
<em> public static void main(String[] args) {</em>
<em> int num= 2;</em>
<em> dashedLinses(num);</em>
<em> }</em>
<em> public static void dashedLinses(int num){</em>
<em> if(num>0){</em>
<em> for(int i=1; i<=num; i++){</em>
<em> System.out.print("-");</em>
<em> }</em>
<em> System.out.println();</em>
<em> }</em>
<em> }</em>
<em>}</em>