How to reset variables

public class statroll : MonoBehaviour {
    int str = 0, agi = 0, inte = 0;

    public void RandomizeStats() {

Apparently I’m supposed to reset these variables before the function, but what code would I use.

public void reset(){ str=0; agi=0; inte=0;}