Currently trying how to use the For loop but I’m not having much luck. Just trying to print a name ten times but I reckon I’m doing something wrong? Your help would be much appreciate as i am getting very frustrated!
Code:#include<conio.h> #include<stdio.h> #include<stdlib.h> char name[25]; void input_name() { printf("please enter your name."); scanf("s%",&name); } void process() { for (name; <10; name+1) printf("Your name is %s/n",name); } int main() { input_name(); process(); getch(); return 1; }