Can any one could develop the below program and give me some help to me hoe to save the console output of this to the respective job no: as mentioned below
#include<stdio.h>
#include<conio.h>
main()
{
long int j;
char n[100],p[100],r[100],a[100],m[100],b[100],l[100],d[100];
printf("\nEnter the Job No:");
scanf("%ld",&j);
printf("\nEnter the Name of the party:");
scanf("%s",&n);
printf("\nEnter the Camera Name:");
scanf("%s",&p);
printf("\nEnter the Camera Model:");
scanf("%s",&m);
printf("\nEnter the Faults:");
scanf("%s",&r);
printf("\nEnter the Camera Body Number:");
scanf("%s",&b);
printf("\nEnter the Lens Number:");
scanf("%s",&l);
printf("\nEnter any accessories provided with it:");
scanf("%s",&a);
printf("\nEnter the Date of Acceptance:");
scanf("%s",&d);
printf("\n Details:");
printf("\n ========\n\n");
printf("Job No: %ld\n",j);
printf("Name: %s\n",n);
printf("Camera Name: %s\n",p);
printf("Camera Model: %s\n",m);
printf("Faults: %s\n",r);
printf("Body Number: %s\n",b);
printf("Lens Number: %s\n",l);
printf("Accessories: %s\n",a);
printf("Date: %s\n",d);
getch();
}
Please Hep me guys!!!
Regards
K.Dhivaakar
#include<stdio.h>
#include<conio.h>
main()
{
long int j;
char n[100],p[100],r[100],a[100],m[100],b[100],l[100],d[100];
printf("\nEnter the Job No:");
scanf("%ld",&j);
printf("\nEnter the Name of the party:");
scanf("%s",&n);
printf("\nEnter the Camera Name:");
scanf("%s",&p);
printf("\nEnter the Camera Model:");
scanf("%s",&m);
printf("\nEnter the Faults:");
scanf("%s",&r);
printf("\nEnter the Camera Body Number:");
scanf("%s",&b);
printf("\nEnter the Lens Number:");
scanf("%s",&l);
printf("\nEnter any accessories provided with it:");
scanf("%s",&a);
printf("\nEnter the Date of Acceptance:");
scanf("%s",&d);
printf("\n Details:");
printf("\n ========\n\n");
printf("Job No: %ld\n",j);
printf("Name: %s\n",n);
printf("Camera Name: %s\n",p);
printf("Camera Model: %s\n",m);
printf("Faults: %s\n",r);
printf("Body Number: %s\n",b);
printf("Lens Number: %s\n",l);
printf("Accessories: %s\n",a);
printf("Date: %s\n",d);
getch();
}
Please Hep me guys!!!
Regards
K.Dhivaakar