hello everyone,

i am very new in java.this is why i need some help from you.i hope you will help me by solving the following problem:

write a program that simulates rooling a pair of dice. you can simulate rooling one die by choosing one of the integers 1, 2, 3, 4, 5, or 6 at random. the number you pick represents the number on the die after it is rolled. the expression

(int)(Math.random()*6) + 1

does the computation you need to select a random integer between 1 and 6. you can assign this value to a value to a variable to represent one of the dice that are being rolled. do this twice and add the results together to get the total roll. your program should report the number showing on each die as well as the total roll. for example:

the first die comes up 3

the second die comes up 5

your total roll is 8

regards,

shantuli :o