Answer:
Explanation:
The following is written in Java. It continues asking the user for inputs until they enter a -1. Then it saves all the values into an array and calculates the number of values entered, the highest, and lowest, and prints all the variables to the screen. The code was tested and the output can be seen in the attached image below.
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int count = 0;
int highest, lowest;
ArrayList<Integer> myArr = new ArrayList<>();
while (true) {
System.out.println("Enter a number [0-10] or -1 to exit");
int num = in.nextInt();
if (num != -1) {
if ((num >= 0) && (num <= 10)) {
count+= 1;
myArr.add(num);
} else {
System.out.println("Wrong Value");
}
} else {
break;
}
}
if (myArr.size() > 3) {
highest = myArr.get(0);
lowest = myArr.get(0);
for (int x: myArr) {
if (x > highest) {
highest = x;
}
if (x < lowest) {
lowest = x;
}
}
System.out.println("Number of Elements: " + count);
System.out.println("Highest: " + highest);
System.out.println("Lowest : " + lowest);
} else {
System.out.println("Number of Elements: " + count);
System.out.println("No Highest or Lowest Elements");
}
}
}
Answer:
1.RGB: Best for projects intended to be used on the web or video
Explanation:
On websites or making project RGB combination of colors is used. This combination of colors is used to store images in electronic components.
2. CMYK: best for professional printing projects using process colors
Explanation:
Printing professional use CMYK combinations of color for better printing results.
3.) indexed:The only colors saved are the colors used in the image
To manage digital images we use Indexed mode of colors.
Explanation:
4.) bitmap: uses black and white
Explanation:
bitmap is the combination of the black and white colors. As the images are large in size so that, to reduce the size of the image we store image in bitmap to reduce the size.
5.) gray scale: uses different shades of grey
Explanation:
The different shades of gray colors are found in the gray scale. These shades are used to produce images.
Answer:
Working with text in presentation programs is similar to working with text in other application, audience size influences font size, and font size and font color can be changed in presentations.
Answer:
The answer is C.
Explanation:
Websites are far quicker to develop than apps.