7.(C) Quick Quiz -->>>Print first N natural number

 #include <stdio.h>

// print first n natural number .
int main()
{
  int i = 0, n;
  printf("Enter the value of n\n");
  scanf("%d", &n);

  // 27 jan,2022.my first quiz which is solve by me alhamdulillah

  do
  {
    printf("The value of i is %d\n", i + 1);
    i++;
  } while (i < n);
 
  return 0;

}

Comments