
Variables are very important in almost every cases. Normally we use local variables but it is sometimes necessary to use
global variables. We can not skip that matter with local variables. One of such kind of a problem is
finding the sum of integers of any number. I have tried many times to use local variable here but failed. If you can please suggest me. But the program code is given here which I have written.