Tengo este código en Java, y necesito que sea en lenguaje C, con ese lenguaje C empezar a hacer unos ejercicios. Estoy muy perdido.
Código
public class descomp { private double l; private int N; private int t; //numeros aleatorios public Radiactivo(double l, int N) { this.l=l; this.N=N; t=0; } public int getnumero(){return N;} public int evolucion(int dt){ int N1; for(int k=0; k<dt; k++){ N1=0; for(int i=0; i<N; i++){ if(rnd.nextDouble()<l) N1++; } N-=N1; } t+=dt; return N; } }