Answer:
cursor
Explanation:
beacause it uz controlled by pointing device, such as a mouse, pen, or trackball
Answer:
The Raptor program for this question is given in the attachment below.
Explanation:
- Run a loop until user decides to quit the program.
- Get the number of miles and gallons from user as an input.
- Use the formula to calculate miles per gallon.
- Display the calculated value of miles per gallon.
- Ask the user if they would like to continue using this program.
Hey
l think what u are thinking of is a disk
Answer:
import java.util.*;
public class work {
// function for counting unique character
public static int numUnique(String input) {
boolean[] list = new boolean[Character.MAX_VALUE];
for (int i = 0; i < input.length(); i++) {
list[input.charAt(i)] = true;
}
int count = 0;
for (int i = 0; i <list.length; i++) {
if (list[i] == true){
count++;
}
}
return count;
}
public static void main(String args[])
{
List<String>list=new ArrayList<>(); // creatng array list of type string
list.add("abcdef");
list.add("aaabcd");
list.add("bccddee");
list.add("abcddd");
list.add("a");
for(String str:list)
{
// for printing the results
System.out.println("given string : "+ str+" , number of unique values :"+numUnique(str));
}
}
}
Explanation: