writing code using basic c language