Answer:
The total cost is $13.0
Explanation:
Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new videos for $3.00 a night, and oldies for $2.00 a night.
Write a program that the clerks at Five Star Retro Video can use to calculate the total charge for a customer's video rentals.
The program should prompt the user for the number of each type of video and output the total cost.
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.");
}
}
Answer:
Explanation:
display letter c, type letter r, type letter o, type letter 3, type letter y- i think thats it but i dee cay this is confusing
Insert Control, I believe.
Body.
head contains all of the data that we generally don't see.
Link is used to link to external stylesheets.
script is where you would type scrips.
doctype is used to tell the browser the document type.