A computer performs task in the following concept
1. It takes input before proceeding form input devices
2. The computer perform necessary operation on data
3. The output is generated after the processing is completed
So while doing programming you must provide input and provide instruction to perform some operation. The output will be generated as your instruction and should be displayed or perform.
Gigo
Gigo is a term that defines about the performing procedure of a machine. It says that computer will produce the output not of your need, rather it will produce the output as according to the input provided. Garbage In-Garbage out, means that it will produce meaningless output, if you have provided wrong input. For example, the you want a program that produce the city name in alphabetical order but if you have provided the name of animals as input then the output will sort the name of animals in alphabetical order, not the name of cities.
1. It takes input before proceeding form input devices
2. The computer perform necessary operation on data
3. The output is generated after the processing is completed
So while doing programming you must provide input and provide instruction to perform some operation. The output will be generated as your instruction and should be displayed or perform.
Gigo
Gigo is a term that defines about the performing procedure of a machine. It says that computer will produce the output not of your need, rather it will produce the output as according to the input provided. Garbage In-Garbage out, means that it will produce meaningless output, if you have provided wrong input. For example, the you want a program that produce the city name in alphabetical order but if you have provided the name of animals as input then the output will sort the name of animals in alphabetical order, not the name of cities.
If you have any doubt, let me know...