Answer:
Java code is given below
Explanation:
import java.util.Random;
class Die{
private int sides;
public Die(){
sides = 6;
}
public Die(int s){
sides = s;
}
public int Roll(){
Random r = new Random();
return r.nextInt(6)+1;
}
}
class DieRoll{
public static void main(String[] args) {
Die die = new Die();
int arr[] = new int[6];
for(int i=0; i<6; i++)
arr[i] = 0;
for(int i=0; i<100; i++){
int r = die.Roll();
arr[r-1]++;
}
for(int i=0; i<6; i++)
System.out.println((i+1)+" was rolled "+arr[i]+" times.");
}
}
That would be called a <span>tachometer </span>
Answer:
All of them apply
Explanation:
Green computing is the process of using environmental friendly computers and its associated components, accessories and other supporting devices.
Virtualization helps us to reduce the number of hardware that we are using.
Grid computers helps us to reduce the use of number of machines and thus supporting the environment in a right way.
Recycling process. Any material that we use needs to be recycled effectively and also in an environmental friendly way.
Autonomic computing uses eco-friendly system which in turn hugely support green computing.
The answer to this question is b that's the answer