Code:#include <stdio.h> // standard C header #include <stdlib.h> // standard lib #include <string> // header for basic/advance strings int main(int argc, char *argv[]) // console main { // starts console main char name[80]; // string(in C) int length=0, i=0; // the variable length returns the value of strlen(name) and the variable 'i' is for counters(loops) printf("Input your name: "); // instructs user to type in name scanf("%s", name); // scans keyboard input length= strlen(name); // declares length printf("Your name is: "); // prints out name while (i < length) { // starts while loop, while i is lower then length printf("%s", name[i]); // prints each character of the user's name as the array value increases i++; } // increments the value of 'i' printf(" and its %d characters long.", length); // informs user how long his/her name is printf("\n\n"); // skips several lines so it wouldn't look sloppy system("pause"); // "Press Enter to continue...." comes up return EXIT_SUCCESS; // EXIT_SUCCESS is pre-defined and tells the compiler that the program hasn't encountered any problems. } // ends the console main function