Try something like.....
that's all i'm giving you...it's pretty muh what you had....structured bit better......all you need to do now...is to add a loop after that whole if statement....firs you want the loop to be executed the same amount of times as x, and the only thing in the loop should be a printf("*"); so the loop will just print an x amount of astrieks..then after that....every other line will have a (x-2) amount of stars........you should be able to figure it out now ...try it.
printf("\n\tInput Number (Greater than 5, Not Even): ");
if ((x<5) || (x%2=0))
return 0; // Quits the Program //