Rainfall forecasting using artificial neural networks