OneCompiler

can some one help me with this c code

#include <stdio.h>
int main (void)

char c = get_char;("do you agree");

if (c == 'y')
{
printf("agreed.\n")
}
if (c== 'n')
{
printf("not agreed.\n")
}

No answers yet!

2 years ago by