I'm learning c as well, and thought I'd have a go at this. Took your code and came up with this.



#include <stdio.h>
#include <string.h>

int main(void)
{
char name1[15], name2[15],...