ZONING TECHNIQUE: A SAMPLING METHOD FOR COTTON FIBERS

ZONING TECHNIQUE: A SAMPLING METHOD FOR COTTON FIBERS

SCOPE: 

This practice covers procedures for taking a lot sample, at the source, of cotton fibers and reducing this sample through a series of steps to provide a relatively small test specimen of loose cotton fibers, representative of the source material and suitable for the determination of a single property, or a series of fiber properties, according to established procedures.

SUMMARY: 

Sampling procedures for obtaining samples from the lot sample and for the reduction of the lot samples to the size required for fiber test specimens are presented. Steps are outlined to secure reduction of the amount of cotton fibers to be handled at various stages, so that the reduced sample continues to be representative of the lot. Provision is made for the omission of intermediate steps in the reduction of the lot sample in cases where this is desirable or necessary.

EQUIPMENT/MACHINE

Manual skill required

DISCUSSION/THEORY

It is not possible or desirable to test all the raw material or all the final output from a production process because of time and cost constraints. Also many tests are destructive so that there would not be any material left after it had been tested. Because of this representative samples of the material are tested. The amount of material that is actually tested can represent a very small proportion of the total output.
It is therefore important that this small sample should be truly representative of the whole of the material. For instance if the test for cotton fiber length is considered, this requires a 20 mg sample which may have been taken from a bale weighing 250 kg. The sample represents only about on eleven millionth of the bulk but the quality of the whole bale is judged on the results from it. The aim of sampling is to produce an unbiased sample in which the proportions of, for instance, the different fiber lengths in the sample are the same as those in the bulk or to put it another way, each fiber in the bale should have an equal chance of being chosen for the sample. Zoning is a method that is used for selecting samples from raw cotton or wool or other loose fiber where the properties may vary considerably from place to place.

TERMS USED IN SAMPLING

Several of the terms used in sampling have different meanings depending on whether wool or Cotton, yarn or fiber is being sampled. This is due to the different representative organizations which have historically grown around each industry. The appropriate standard should always be consulted:

Consignment: 

This is the quantity of material delivered at the same time. Each consignment may consist of one or several lots.

Test Lot or Batch: 

This consists of all the containers of a textile material of one defined type and quality, delivered to one customer according to one dispatch note. The material is presumed to be uniform so that this is the whole of the material whose properties are to be characterized by one set of tests. It can be considered to be equivalent to the statistical population.

Laboratory Sample: 

This is the material that will be used as a basis for carrying out the Measurement in the laboratory. This is derived by appropriate random sampling methods from the test lot.

Test Specimen: 

This is the one that is actually used for the individual measurement and is derived from the laboratory sample. Normally, measurements are made from several test specimens.

Package: 

Elementary units (which can be unwound) within each container in the consignment.
They might be bump top, hanks, skeins, bobbins, cones or other support on to which have been Wound tow, top, sliver, roving or yarn.

Container or Case: 

A shipping unit identified on the dispatch note, usually carton, box, bale or other container which may or may not contain packages.

PROCEDURE

1.      Collect a handful of fibers randomly from each of at least 40 widely spaced places (zones) throughout the bulk of the consignment.
2.      Each handful is divided into two parts a done half of it is discarded at random.
3.      Divide the retained half into two and half of that discarded.
4.      Repeat the above process until about 5 grams of fibers remain in handful.
5.      Treat each handful in a similar manner and the fibers that remain are placed together to Give a correctly sized test sample containing about 5 grams of  fibers.
6.      Test the whole of the final sample.




Project of C++ on Calculation of Thread consumption in T-Shirt

Synopsis of the project of COMPUTER PROGRAMMING(C++)

 TITLE

Software of Thread Consumption in Manufacturing a Garment.  Aims & Objectives

·       To calculate the thread consumed in manufacturing a garment.
·       To minimize the waste by having a perfect calculation.
·       This software will also help to control the waste.
·        Increase the efficiency of the garment.
·       To calculate the total cost of thread used.

Estimating Thread Consumption

While estimating thread consumption in a garment we will use following things.
1.   Length of garment (meters or yards)
2.   Make sequence of sewing operation.
3.   Number of Rows of Stitches

Here is source code. To get .cpp file inbox me ucet.mtn@gmail.com



#include<iostream.h>
#include<conio.h>
void star( )
{ for(int a=1;a<70;a++)
cout<<"*";}

void stitch( )
{ cout<<"1. Stitch 301 2. Stitch 401 3. Stitch 304 4. Stitch 503\n5. Stitch 504 6. Stitch 512 7. Stitch 516 8. Stitch 406\n9. Stitch 602 10. Stitch 605\n"; }
void plus( )
{ for(int c=1;c<70;c++) cout<<"="; }
void line( )
{ for(int b=1;b<70;b++)
cout<<"-"; }
struct variable { int a; float b,c,d,e,f,g,h,i,j; char ch; };
void main()
{
start:
clrscr();
star();
cout<<endl;
cout<<" SOFTWARE\n ";
cout<<" OF\n ";
cout<<" Thread Consumption Of Men`s T-Shirt\n";
star();
cout<<"\nSubmitted To : Sir Abdul Jabbar\nSubmitted By : Kamran & Group\n";
cout<<"Group Leader : Muhammad Kamran (10-TE-24)\n";
cout<<" Abdul Ahad (10-TE-44) Muhammad Sajid (10-TE-55)\n";
star();
cout<<endl;
variable x;
cout<<" WELCOME To Thread Consumption Software";
cout<<endl;
plus();
cout<<endl;
stitch();
line(); cout<<endl;
end:
do {
cout<<"Enter Stitch Classes Code for Join Shoulder :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=x.b*x.a*5;
break;
case 2:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break;
case 3:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break;
case 4:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break;
case 5:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break;
case 6:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break;
case 7:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*4*2)+(x.a*x.b*16);
break;
case 8:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break;
case 9:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*5*2)+(x.a*x.b*20);
break;
case 10:
cout<<"Enter Seam length for Join Shoulder in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.c=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break;
default:
cout<<"Wrong Selection Do You Want To Repeat (Y/N)? :"; cin>>x.ch;
}
}
while(x.ch=='y');
do {
cout<<"\nSelect Stitch Clase Code For Set Collarette :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=x.b*x.a*5;
break;
case 2:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break;
case 3:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break;
case 4:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break;
case 5:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break;
case 6:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break;
case 7:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*4*2)+(x.a*x.b*16);
break;
case 8:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break;
case 9:
cout<<"Enter Seam Length for Collarette in inches :"; cin>>x.b;
cout<<"Ente Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*5*2)+(x.a*x.b*20);
break;
case 10:
cout<<"Enter Seam Length for Collarette in inche :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.d=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break; default:
cout<<"Wrong Selection Do You Want To Repeat (y/N) :"; cin>>x.ch;
}
}
while(x.ch=='y');
do {
cout<<"\nEnter Stitch Clase Code for Tape Shoulder & Neck :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam Length for Tap Shoulder Neck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=x.b*x.a*5;
break; case 2:
cout<<"Enter Seam Length for Tap Shoulder Neck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break; case 3:
cout<<"Enter Seam Length for Tap Shoulder Ncck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break; case 4:
cout<<"Enter Seam Length for Tap Shoulder Ncck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break; case 5:
cout<<"Enter Seam Length for Tap Shoulder Ncck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break; case 6:
cout<<"Enter Seam Length for Tap Shoulder Ncck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break; case 7:
cout<<"Enter Seam Length for Tap Shoulder Neck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*4*2)+(x.a*x.b*16);
break; case 8:
cout<<"Enter Seam Length for Tap Shoulder Neck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break; case 9:
cout<<"Enter Seam Length for Tap Shoulder Neck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.e=(x.a*x.b*5*2)+(x.a*x.b*20);
break; case 10:
cout<<"Enter Seam Length for Tap Shoulder Neck in inches :"; cin>>x.b;
cout<<"Enter Rows of Seam :"; cin>>x.a;
x.e=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break;
default:
cout<<"Wrong Selection Do You Want To Repeat (Y/N) :"; cin>>x.ch;
}
}
while(x.ch=='y');
line(); cout<<endl;
stitch();
line();
cout<<endl;
do {
cout<<"\nEnter Stitch Clase Code for Hem Sleves :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=x.b*x.a*5;
break; case 2:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Ente Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break; case 3:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break; case 4:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break; case 5:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break; case 6:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break; case 7:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*4*2)+(x.a*x.b*16);
break; case 8:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break; case 9:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*5*2)+(x.a*x.b*20);
break; case 10:
cout<<"Enter Seam Length for Hem Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.f=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break;
default:
cout<<"Wrong Selection Do You Want To Repeat (Y/N) :"; cin>>x.ch;
}
}
while(x.ch=='y');
do {
cout<<"\nEnter Stitch Clase Code for Close Sleves :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=x.b*x.a*5;
break; case 2:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break; case 3:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break; case 4:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break; case 5:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break; case 6:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break; case 7:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*4*2)+(x.a*x.b*16);
break; case 8:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break; case 9:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*5*2)+(x.a*x.b*20);
break; case 10:
cout<<"Enter Seam Length for Close Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.g=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break; default:
cout<<"Wrong Selection Do You Want To Repeat (Y/N) :"; cin>>x.ch;
}
}
while(x.ch=='y');
do {
cout<<"\nEnter Stitch Clase Code for Set Sleves :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam Length for Set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=x.b*x.a*5;
break; case 2:
cout<<"Enter Seam Length for Set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break; case 3:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break; case 4:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break; case 5:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break; case 6:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break; case 7:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*4*2)+(x.a*x.b*16);
break; case 8:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break; case 9:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*5*2)+(x.a*x.b*20);
break; case 10:
cout<<"Enter Seam Length for set Sleves in inches :"; cin>>x.b;
cout<<"Enter Rows of Seams :"; cin>>x.a;
x.h=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break;
default:
cout<<"Wrong Selection Do You Want To Repeat (Y/N) :"; cin>>x.ch;
}
}
while(x.ch=='y');
do {
cout<<"\nEnter Selection and Data for Hem Bottom :";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=x.b*x.a*5;
break; case 2:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*1.375)+(x.a*x.b*4.125);
break; case 3:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*3.5)+(x.a*x.b*3.5);
break; case 4:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*6.6)+(x.a*x.b*5.4);
break; case 5:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*2.8)+(x.a*x.b*11.2);
break; case 6:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*4.5*2)+(x.a*x.b*13.5);
break; case 7:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*4*2)+(x.a*x.b*16);
break; case 8:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*5.4*2)+(x.a*x.b*12.6);
break; case 9:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*5*2)+(x.a*x.b*20);
break; case 10:
cout<<"Enter Seam length for Hem Bottom in inches :"; cin>>x.b;
cout<<"Enter rows of Seams :"; cin>>x.a;
x.i=(x.a*x.b*8.4*3)+(x.a*x.b*19.6);
break;
default:
cout<<"Wrong Selection Do You Want To Repeat (Y/N) :"; cin>>x.ch;
}
}
while(x.ch=='y');
plus();
x.j=(x.c+x.d+x.e+x.f+x.g+x.h+x.i)*0.027;
cout<<"\nThread consumed is :"<<x.j<<" yards"<<endl;
cout<<"Waste Percentage : 10 %"<<endl;
cout<<"Waste thread :"<<x.j*0.1<<" yards"<<endl;
x.c=x.j+(x.j*0.1);
cout<<"Total thread including Wastage is :"<<x.c<<" yards"<<endl;
line();
cout<<endl<<"Enter Price of Thread Per Yard in $ :"; cin>>x.b;
cout<<"Total Price Of Thread Consumed In $ Is :"<<x.c*x.b<<endl;
plus();
cout<<endl;
cout<<"Press R to repeat and E to exit :"; cin>>x.ch;
if(x.ch=='e')
{ goto start; }
else if(x.ch=='r')
{ clrscr(); goto end; }
cout<<endl;
}


Different conversion project of C++ (source code)


Here is source code. To get .cpp file inbox me at ucet.mtn@gmail.com

#include<iostream.h>
#include<conio.h>
struct input { int a; double b; };
void dot()
{ for(int y=1;y<40;y++) cout<<"."; }
void star()
{ for(int a=1;a<40;a++) cout<<"*"; }
void line() { for(int x=1;x<50;x++) cout<<"-"; }
void main()
{
clrscr();
star();
cout<<"\n WELCOME TO UNIT CONVERSIONS \n";
star();
cout<<endl<<" \n";
line();
cout<<"\nPress the number mentioned against the conversions that you want to carry out\n";
cout<<" \n";
line();
cout<<"\n1. Weight Conversions\n2. Length Conversions\n3. Temperature Conversions :  ";
input x;
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
{
cout<<"1. Kilogram to other units\n2. Pound to others\n3. Ounce to Others\n4. Grams to others\n5. Miligrams to Others\n6. Grains to others :  ";
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
cout<<"1. Kilogram to Pound Conversions\n2. Kilogram to Ounce\n3. Kilogram to gram \n4. Kilogram to Miligram\n5. Kilograme to Grains :  ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter weight in Kg    :"; cin>>x.b;
cout<<"weight in Pound is    :"<<(x.b*2.20462)<<endl;
break;
case 2:
cout<<"Enter weight in Kg    :"; cin>>x.b;
cout<<"Weight in ounce is    :"<<(x.b*35.273)<<endl;
break;
case 3:
cout<<"Enter weight in Kg    :"; cin>>x.b;
cout<<"Weight in Gram is     :"<<(x.b*1000)<<endl;
break;
case 4:
cout<<"Enter Weight in Kg    :"; cin>>x.b;
cout<<"Weight in Miligram is :"<<(x.b*1000000)<<endl;
break;
case 5:
cout<<"Enter weight in Kg    :"; cin>>x.b;
cout<<"Weight in Grains is   :"<<(x.b*15432)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 2:
cout<<"1. Pound to Kilogram\n2. Pound to Ounce \n3. Pound to Gram\n4. Pound to Miligram\n5. Pound to Grain :  ";
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
cout<<"Enter weight in Pound :"; cin>>x.b;
cout<<"Weight in Kg is       : "<<(x.b*0.45359)<<endl;
break;
case 2:
cout<<"Enter weight in Pound :"; cin>>x.b;
cout<<"Weight in Ounce is    :"<<(x.b*16)<<endl;
break;
case 3:
cout<<"Enter weight in Pound :"; cin>>x.b;
cout<<"Weight in Gram is     : "<<(x.b*453.59)<<endl;
break;
case 4:
cout<<"Enter weight in Pound :"; cin>>x.b;
cout<<"Weight in Miligram is :"<<(x.b*453592)<<endl;
break;
case 5:
cout<<"Enter weight in Pound :"; cin>>x.b;
cout<<"Weight in Grain is    :"<<(x.b*7000)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 3:
cout<<"1. Ounce to Kilogram\n2. Ounce to Pound\n3. Ounce to Gram\n4. Ounce to Miligram\n5. Ounce to Grain :  ";
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
cout<<"Enter weight in Ounce :"; cin>>x.b;
cout<<"Weight in Kg is       :"<<(x.b*0.028349)<<endl;
break;
case 2:
cout<<"Enter weight in Ounce :"; cin>>x.b;
cout<<"Weight in Pound is    :"<<(x.b*0.0625)<<endl;
break;
case 3:
cout<<"Enter weight in Ounce :"; cin>>x.b;
cout<<"Weight in Gram is     :"<<(x.b*28.349)<<endl;
break;
case 4:
cout<<"Enter weight in Ounce :"; cin>>x.b;
cout<<"Weight in Miligram is :"<<(x.b*28349)<<endl;
break;
case 5:
cout<<"Enter weight in Ounce :"; cin>>x.b;
cout<<"Weight in Grains is   :"<<(x.b*437.5)<<endl;
break;
default: cout<<"Wrong Selection Try again";
}
break;
case 4:
cout<<"1. Gram to Kg\n2. Gram to Pound\n3. Gram to Ounce\n4. Gram to Miligram\n5. Gram to Grain :  ";
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
cout<<"Enter weight in Gram  :"; cin>>x.b;
cout<<"Weight in Kg is       :"<<(x.b*0.001)<<endl;
break;
case 2:
cout<<"Enter weight in Gram  :"; cin>>x.b;
cout<<"Weight in Pound is    :"<<(x.b*0.0022)<<endl;
break;
case 3:
cout<<"Enter weight in Gram  :"; cin>>x.b;
cout<<"Weight in Ounce is    :"<<(x.b*0.03527)<<endl;
break;
case 4:
cout<<"Enter weight in Gram  :"; cin>>x.b;
cout<<"Weight in Miligram is :"<<(x.b*1000)<<endl;
break;
case 5:
cout<<"Enter weight in Gram  :"; cin>>x.b;
cout<<"Weight in Grains is   :"<<(x.b*15.432)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 5:
cout<<"1. Miligrame to Kg\n2. Miligram to Pound\n3. Miligram to Ounce\n4. Miligram to Gram\n5. Miligram to Grain :  ";
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
cout<<"Enter weight in Miligram :"; cin>>x.b;
cout<<"Weight in Kg is          :"<<(x.b*0.000001)<<endl;
break;
case 2:
cout<<"Enter weight in Miligram :"; cin>>x.b;
cout<<"Weight in Pound is       :"<<(x.b*0.0000022)<<endl;
break;
case 3:
cout<<"Enter weight in Miligram :"; cin>>x.b;
cout<<"Weight in Ounce is       : "<<(x.b*0.00003527)<<endl;
break;
case 4:
cout<<"Enter weight in Miligram :"; cin>>x.b;
cout<<"Weight in gram is        :"<<(x.b*0.001)<<endl;
break;
case 5:
cout<<"Enter weight in Miligram :"; cin>>x.b;
cout<<"Weight in Grains is      :"<<(x.b*0.15432)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 6:
cout<<"1. Grain to Kilogram\n2. Grain to Pound\n3. Grain to Ounce\n4. Grain to Gram\n5. Grains to Miligram :  ";
cin>>x.a;
dot(); cout<<endl;
switch(x.a)
{
case 1:
cout<<"Enter weight in Grain :"; cin>>x.b;
cout<<"Weight in Kg is       :"<<(x.b*0.001)<<endl;
break;
case 2:
cout<<"Enter weight in Grain :"; cin>>x.b;
cout<<"Weight in Pound is    :"<<(x.b*0.0022)<<endl;
break;
case 3:
cout<<"Enter weight in Grain :"; cin>>x.b;
cout<<"Weight in Ounce is    :"<<(x.b*0.03527)<<endl;
break;
case 4:
cout<<"Enter weight in Grain :"; cin>>x.b;
cout<<"Weight in Gram is     :"<<(x.b*1000)<<endl;
break;
case 5:
cout<<"Enter weight in Grain :"; cin>>x.b;
cout<<"Weight in Miligram is :"<<(x.b*15.432)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
default: cout<<"Wrong Selection Try Again ";
}
}
break;
case 2:
cout<<"Please Enter The Respective Number : ";
cout<<"1. Centimeter To Others\n2. Feet To Others\n3. Inches To Others\n4. Kilometer To Others\n5. Meter To Others\n6. Yard To Others :  ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"1. Centimeter To Feet\n2. Centimeter To Inches\n3. Centimeter To Kilometer\n4. Centimeter To Milimeter\n5. Centimeter To Meter\n6. Centimeter To Yard : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in Cm        : "; cin>>x.b;
cout<<"In Feet Is         : "<<(x.b*0.03280)<<endl;
break;
case 2:
cout<<"Enter in Cm        : "; cin>>x.b;
cout<<"In Inches Is       : "<<(x.b*0.3837)<<endl;
break;
case 3:
cout<<"Enter in Cm        : "; cin>>x.b;
cout<<"In Kilometer Is    : "<<(x.b*0.00001)<<endl;
break;
case 4:
cout<<"Enter in Cm        : "; cin>>x.b;
cout<<"In Milimeter Is    : "<<(x.b*0.10)<<endl;
break;
case 5:
cout<<"Enter in Cm        : "; cin>>x.b;
cout<<"In Meter Is        : "<<(x.b*0.01)<<endl;
break;
case 6:
cout<<"Enter in Cm        : "; cin>>x.b;
cout<<"In Yard Is         : "<<(x.b*0.01093)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 2:
cout<<"1. Feet To Cm\n2. Feet To Dm\n3. Feet To Inches\n4. Feet To Km\n5. Feet To Meter\n6. Feet To Yards : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In Cm Is          : "<<(x.b*30.48)<<endl;
break;
case 2:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In dm Is          : "<<(x.b*3.04799)<<endl;
break;
case 3:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In inches Is      : "<<(x.b*12)<<endl;
break;
case 4:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In Kilometer Is   : "<<(x.b*0.0003048)<<endl;
break;
case 5:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In Milimeter Is   : "<<(x.b*304.8)<<endl;
break;
case 6:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In Meter Is       : "<<(x.b*0.3048)<<endl;
break;
case 7:
cout<<"Enter in Feet     : "; cin>>x.b;
cout<<"In Yard Is        : "<<(x.b*0.333)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 3:
cout<<"1. Inches To Cm\n2. Inches To dm\n3. Inches To Feet\n4. Inches To Km\n5. Inches to Milimeter\n6. Inches To Meter\n7. Inches To Yards : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In Cm Is          : "<<(x.b*2.54)<<endl;
break;
case 2:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In dm Is          : "<<(x.b*0.254)<<endl;
break;
case 3:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In Feet Is        : "<<(x.b*0.08334)<<endl;
break;
case 4:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In Kilometer Is   : "<<(x.b*0.0000254)<<endl;
break;
case 5:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In Milimeter Is   : "<<(x.b*25.4)<<endl;
break;
case 6:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In Meter Is       : "<<(x.b*0.0254)<<endl;
break;
case 7:
cout<<"Enter in Inches   : "; cin>>x.b;
cout<<"In Yard Is        : "<<(x.b*0.027)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 4:
cout<<"1. Kilometer To Cm\n2. Kilometer To dm\n3. Kilometer To Feet\n4. Kilometer To Inches\n5. Kilometer to Milimeter\n6. Kilometer To Meter\n7. Kilometer To Yards : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In Cm Is         : "<<(x.b*100000)<<endl;
break;
case 2:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In dm Is         : "<<(x.b*10000)<<endl;
break;
case 3:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In Feet Is       : "<<(x.b*3280.839)<<endl;
break;
case 4:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In Inches Is     : "<<(x.b*39370.07)<<endl;
break;
case 5:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In Milimeter Is  : "<<(x.b*1000000)<<endl;
break;
case 6:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In Meter Is      : "<<(x.b*1000)<<endl;
break;
case 7:
cout<<"Enter in Km      : "; cin>>x.b;
cout<<"In Yard Is       : "<<(x.b*1093.61)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 5:
cout<<"1. Milimeter To Cm\n2. Milimeter To dm\n3. Milimeter To Feet\n4. Milimeter To Inches\n5. Milimeter to Kilometer\n6. Milimeter To Meter\n7. Milimeter To Yards : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In Cm Is         : "<<(x.b*0.1)<<endl;
break;
case 2:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In dm Is         : "<<(x.b*0.01)<<endl;
break;
case 3:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In Feet Is       : "<<(x.b*0.00328)<<endl;
break;
case 4:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In Inches Is     : "<<(x.b*0.039370)<<endl;
break;
case 5:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In Kilometer Is  : "<<(x.b*0.000001)<<endl;
break;
case 6:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In Meter Is      : "<<(x.b*0.001)<<endl;
break;
case 7:
cout<<"Enter in mm      : "; cin>>x.b;
cout<<"In Yard Is       : "<<(x.b*0.00109)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 6:
cout<<"1. Meter To Cm\n2. Meter To dm\n3. Meter To Feet\n4. Meter To Inches\n5. Meter to Kilometer\n6. Meter To MiliMeter\n7. Meter To Yards : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In Cm Is         : "<<(x.b*100)<<endl;
break;
case 2:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In dm Is         : "<<(x.b*10)<<endl;
break;
case 3:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In Feet Is       : "<<(x.b*3.280839)<<endl;
break;
case 4:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In Inches Is     : "<<(x.b*39.37007)<<endl;
break;
case 5:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In Kilometer Is  : "<<(x.b*0.001)<<endl;
break;
case 6:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In Milimeter Is  : "<<(x.b*1000)<<endl;
break;
case 7:
cout<<"Enter in m       : "; cin>>x.b;
cout<<"In Yard Is       : "<<(x.b*1.09361)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 7:
cout<<"1. Yard To Cm\n2. Yard To dm\n3. Yard To Feet\n4. Yard To Inches\n5. Yard to Kilometer\n6. Yard To MiliMeter\n7. Yard To Meters : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In Cm Is        : "<<(x.b*91.439)<<endl;
break;
case 2:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In dm Is        : "<<(x.b*9.1439)<<endl;
break;
case 3:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In Feet Is      : "<<(x.b*3)<<endl;
break;
case 4:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In Inches Is    : "<<(x.b*35.99)<<endl;
break;
case 5:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In Kilometer Is : "<<(x.b*0.00091)<<endl;
break;
case 6:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In Milimeter Is : "<<(x.b*914.39)<<endl;
break;
case 7:
cout<<"Enter in Yards  : "; cin>>x.b;
cout<<"In Meter Is     : "<<(x.b*0.091439)<<endl;
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
default: cout<<"Wrong Selection Try Again ";
}
break;
case 3:
cout<<"1. Centigrade To Fahrenheit\n2. Centigrade To Kelvin\n3. Fahrenheit To Centifrade\n4. Fahrenheit To Kelvin\n5. Kelvin To Centigrade\n6. Kelvin To Fahrenheit : ";
cin>>x.a;
switch(x.a)
{
case 1:
cout<<"Enter in Centigrade : "; cin>>x.b;
cout<<"In Fahrehheit Is    : "<<((x.b*1.8)+32)<<endl;
break;
case 2:
cout<<"Enter in Centigrade : "; cin>>x.b;
cout<<"In Kelvin is        : "<<(x.b+273.16)<<endl;
break;
case 3:
cout<<"Enter in Fahrenheit : "; cin>>x.b;
cout<<"In Centigrade is    : "<<((x.b-32)/1.8)<<endl;
break;
case 4:
cout<<"Enter in Fahrenheit : "; cin>>x.b;
cout<<"In Kelvin Is        : "<<(((x.b-32)/1.8)+273.16)<<endl;
break;
case 5:
cout<<"Enter in Kalvin     : "; cin>>x.b;
cout<<"In Centigrade is    : "<<(x.b-273.16)<<endl;
break;
case 6:
cout<<"Enter in Kelvin     : "; cin>>x.b;
cout<<""<<(((x.b-273.16)*1.8)+32)<<endl;
break;
default: cout<<"Wrong Selection Try Again";
}
break;
default: cout<<"Wrong Selection Try Again";
}
}

Lay Out Plans of woven fabrics



1-      For the warp of Grey Cloth

Process                                   Product

                                    Warp yarn in the form of cones or cheeses


1) Warping                      Warper’s Beams

2) Sizing                          Weaver’s Beams

3) Drawing-in                  Weaver’s beam along with drawn-in heald frames and reed

4) Looming-in                 Placing and fixing weaver’s beam along with drawn-in heald frames and reed into the loom
5) Weaving                      Woven Fabric


2-      For Sheet dyed Denim Cloth


Process                                   Product


                                    Warp yarn in the form of cones or cheeses


1) Warping                      Warper’s Beams

2) Dyeing and sizing       Weaver’s Beams with dyed and sized yarn of warp sheet

3) Drawing-in                  Weaver’s beam along with drawn-in heald frames and reed 

4) Looming-in                 Placing and fixing weaver’s beam along with drawn-in heald frames and reed into the loom
5) Weaving                      Woven Fabric


3-      For Sheet dyed Denim Cloth


Process                                                 Product

                                                  Warp yarn in the form of cones or cheeses

1) Ball Warping                          Balls of warp

2) Dyeing in                                Dyed ropes of warp in cans rope form

Dressing and Beaming                 Warper’s beams with dressed and straightened warp yarns

Sizing                                     Weaver’s Beams with dyed and sized yarn

Drawing-in                                Weaver’s beam along with drawn-in heald frames and reed

Looming-in                               Placing and fixing weaver’s beam along with drawn-in heald frames and reed into the loom
Weaving                                  Woven Fabric