#include <stdio.h>

int main()
{
    int i;
    do {
        printf("Enter the value of i:\n");
        scanf("%d",&i);
        if(i<1)
        {
            printf("Correct answer",i);
        }
        else
        {
            printf("Wrong answer",i);
        }
        break;
    }
         while (i<=1);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: