#include // printf #include // rand and srand #include // time //TODO: Write the dice function here int main() { srand(time(0)); // you only have to set up your seed once int Number = (rand()%6)+1; // call the dice function and don't forget to add them together printf("You rolled a %d",Number); }