But i'm newby to ccs c and i am not able to translate given code into basic.,...,