Java Program (rolling the dice)

I'm not even sure if this is where i'm supposed to ask this.

And i also know this is really simple, but i missed the first two weeks of class as i registered late and all of a sudden i have homework assignments. And i have no idea what to do.

The question that's asked is:

Write a program that simulates rolling two dice using the following steps:

Prompt the user for the number of sides for two dice.

“Roll” the dice three times by generating a random number between 1 (inclusive) and the number of sides (inclusive).

Keep track of the sum of the rolls for each die and output the sum and average for each die.

and this is how much i've gotten so far

// Subhan Jamil

// dice.java

import java.util.Random;

public class dice {

public static void main (String[] args) {

int die1;

int die2;

java.util.Scanner sc = new java.util.Scanner(System.in);

int num_sides = Scanner.nextInt();

If any 1 can please help me, or better yet talk to me personally to teach me a little i would greatly appreciate it.