Hey everybody, now i am working on this program that will ask you your name and then says Welcome (name), but i also want it to be able to say your full name like Welcome (first, middle, last), but every time i put 1 or 2 words in like (first, last) in it does nothing.
See for you self, its hard to explain
Code:#include<stdio.h> int main(Void) { char First[25]; char Middle[25]; char Last[25]; printf("Please Enter Your Name: "); scanf("%s%s%s", First, Middle, Last); if(Middle == || Last == ) { printf("Welcome %s", First); } getch(); }