Answer:
import java.util.Scanner;
import java.util.Arrays;
import java.util.Random;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter low: ");
int low = scan.nextInt();
System.out.print("Enter high: ");
int high = scan.nextInt();
scan.close();
int rndnumbers[] = new int[10];
Random r = new Random();
for(int i=0; i<rndnumbers.length; i++) {
rndnumbers[i] = r.nextInt(high-low+1) + low;
}
for(int i=0; i<rndnumbers.length; i++) {
System.out.printf("%d: %d\n", i, rndnumbers[i]);
}
}
}
The symbol that we do use to assign a value to a variable or constant in algorithms is =.
<h3>What is used to assign a constant to a variable?</h3>
The const keyword is known to be one that tends to specifies a variable or object value that is known to be constant.
In computing and computer programming, there are different kinds of variables as well as symbols that are used for different purposes.
Note that if you assign a variable, you need to use the = symbol and thus The symbol that we do use to assign a value to a variable or constant in algorithms is =.
Learn more about algorithms from
brainly.com/question/13800096
#SPJ1
Answer:
Predict Demand
Explanation:
The type of Artificial Intelligence (Al) solution that would be suitable for solving this problem is "Predict Deman"
By predicting the demand of the potential consumer through the Artificial intelligence solution the retailer would be able to eliminate leftover out-of-stock scenarios because the adequate quantity of the products or demands will be provided thereby enhancing customers' experience arising from out-of-stock scenarios and reducing losses arising from the leftover.
Answer:
I'm not sure
Explanation:
I'm good at math but I do not see any numbers to work with. SORRY