Computer Code Reference Page

[code examples] [Keyboard input] [Variables] [system Messages]

Code Examples


<html>
  <body>
    <p>Hello World </p>
  </body>
</html>

C Program:

#include <stdio.h >
int main() {
  printf("Hello World");
  return 0;
}

JavaScript Program:

console.log("Hello World");

Keyboard Input Examples

To copy text: Ctrl + C
To paste text: Ctrl + V
To save a file: Ctrl + S

Variables in Mathematics

Area of Circle = π × r2 Speed = d / t

system Messages

Example 1: Input: 5 + 10
Output: 15 Example 2: Command: dir
Output: List of files displayed here