My

My


#include <stdio.h>

#include <ncurses.h>

int main() {


   char myName[20] = "Not Set\0";

   /*

   FILE *inputFile;

   inputFile = fopen("//home//parallels//Desktop//MyFiles//MySales.txt","r+t");

   if(inputFile==NULL) {

       printf("can't open file!\n");

       return -1;

   }

   */

   printf("Hi, Please enter your name below :\n");

   printf("----------------------------------\n");

   gets(myName);

   clrscr();

   printf("Hello %s! Welcome to our program\n",myName);

   // fclose(inputFile);

   return 0;

}


Report Page