Hi I have made some progress on the code. Thanx for the help. Here is what I have so far. This is what we have to add to the code now if anyone could help out.
Allow the player to select which...
Type: Posts; User: Macman21
Hi I have made some progress on the code. Thanx for the help. Here is what I have so far. This is what we have to add to the code now if anyone could help out.
Allow the player to select which...
Thanks for the reply. Im fairly new to coding not even sure what a random seed is?
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i;
int diceRoll;
for(i=0; i<20; i ++){
diceRoll = (rand()%6) +1;
Hi, I have to make a random number game for a project.
It's a single player game consisting of up to 3 goes per round and 6 rounds.
Generate 5 random numbers from 1 to 6 (inclusive)
...
Im using GNU compiler
Thanks for the reply. How do i set the compiler to have more warnings?
Hi first time posting. Very new to C coding, currently doing the basics for college. The program is a decimal to rad/degrees to Fahrenheit converter. We had to add to the code to get resistors in...