y is this not working properly?

#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>

struct stat s;

main() {
char c[100];
if (fork()==0) {
system("clear");
do {
printf("myAI\\>� ");
scanf("%s",c);

		if\(stat\(c,&s\)&gt;-1\) \{
			system\("att"\);

		\}
		else if \(strcmp\("machine",c\)&lt;0\) \{
			system\("echo $USER@\`hostname\`"\);
			system\("echo kernel : \`uname -r\`"\);
			system\("kde-config --version | grep KDE"\);
		\}
	\} while \(strcmp\("exit",c\)\);
	exit\(1\);
\}
wait\(NULL\);

}

What are you trying to do with

strcmp("machine",c)<0

?

it didnt change big deal

there's the answer

(strcmp("machine",c)==0)

im trying to make my own shell, i thk its the best way for me to grasp C and Bash at the same time