WELCOME TO JENNIFER CHENG'S WEBPAGE



Search the internet for:

(A separate window will open where you can select a search engine.)

 

Main Page

This is is strictly for educational purposes. Please feel free to browse.

Lesson 1

The Evolution of Computer Programming and Languages

Lesson 2

Searching

Lesson 3

Input and Output Process

Lesson 4

Array Description

Lesson 5

Data Structures

Lesson 6

Character Manipulations

Lesson 7

7C's

 


INPUT, PROCESS, OUTPUT (IPO)

The computer is in a constant cycle of input, process, and output. The computer waits for you to enter the required information (input). Based on the entered information, the computer takes the appropriate actions (process). Finally, the result is displayed on the screen or printed out (output). An analogy for input, process and output would be a food processor where food, fruit and other ingredients are put into the machine. Afterward, based on the selected setting, such as cutting, chopping, or mixing, the food processor performs the appropriate task, and finally the desired mixture is ready to be used.

THE MAIN SKELETON OF THE C AND C++ PROGRAM

A C/C++ program has a main skeleton, regardless of how large or small it is. Every program starts with the word main, followed by an open parenthesis and closed parenthesis. The beginning of the program is marked with an open brace, and the end of the program is marked with a closed brace. Let me show you the simplest program one can create in both C and C++.

Back to Main Page

1
Hosted by www.Geocities.ws