Skip to main content
Converted blockquote to code formatting
Source Link
Gypsy Spellweaver
  • 5.5k
  • 2
  • 18
  • 34

I was taught that there were three main aspects of programming: 1) input-output, 2) computation and 3) logic/control.

  1. input-output,
  2. computation, and
  3. logic/control

"Hello world" is an "input-output" function, specifically a "print" command. The next thing I would teach is a simple computation, even something like 1+1=2. E.g1+1=2.,

X=1
Y=X+X
Print Y.

For example:

X=1
Y=X+X
Print Y

I was taught that there were three main aspects of programming: 1) input-output, 2) computation and 3) logic/control.

"Hello world" is an "input-output" function, specifically a "print" command. The next thing I would teach is a simple computation, even something like 1+1=2. E.g.,

X=1
Y=X+X
Print Y.

I was taught that there were three main aspects of programming:

  1. input-output,
  2. computation, and
  3. logic/control

"Hello world" is an "input-output" function, specifically a "print" command. The next thing I would teach is a simple computation, even something like 1+1=2.

For example:

X=1
Y=X+X
Print Y
Source Link
Tom Au
  • 475
  • 2
  • 10

I was taught that there were three main aspects of programming: 1) input-output, 2) computation and 3) logic/control.

"Hello world" is an "input-output" function, specifically a "print" command. The next thing I would teach is a simple computation, even something like 1+1=2. E.g.,

X=1
Y=X+X
Print Y.