_Practical-9
prepare CFG for a simple C program (write C program for same)
==>>>
write a c program of your choice :--
#include<stdio.h>
#include<conio.h>
int main()
{
    int a,b;
    printf("enter value of a and b");
    scanf("%d %d",&a, &b);
while(a!=b)
    {
if(a>b)
            {
                printf("a is greater");
            }
else
            {
                printf("b is greater");
            }
    }
return 0;
}

2 Comments
thnxs
ReplyDelete🎉💖
Delete