#include <stdio.h>
int main() {
int n;
scanf("%d",&n);
printf("Enter the value of number n=%d\n",n);
while(n!=100)
{
printf("%d\n ",n);
scanf("%d",&n);
}
printf("Input has reached 100\n");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: