Friday, 10 November 2017

C program looping


Code:

#include

main()
{
   int value = 1;

   while(value<=3)
   {
      printf("Value is %d\n", value);
      value++;
   }

   return 0;
}

Output:

Value is 1
Value is 2
Value is 3



More Imp Topics:


100+ Best Home Decoration Ideas For Christmas Day 2019 To Make Home Beautiful

Best gifts for Christmas Day | Greeting cards for Christmas Day | Gift your children a new gift on Christmas day This Christmas d...