fibonacci problem using while loop

hi

i have been working hard on a c program of how to print the first 10 fibonacci numbers?

using while loop....

but i have come out of nothing.... but i know the concept of fibonacci numbers though

but still...i am confused that do i have to declare 10 variables if

after declaring suppose variable 1 as 0 and varaible 2 as 1 then variable 3=varable 1 +variable 2 and i'll be swapping the sum of previous two terms to get a next term as it happens in the series of fibonacci numbers.

plz write a code of this program and help me make me understand using while loop.....

thx ....

waiting for ur reply guys!!!!!!!