Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// main function
// Returns: Integer
int main() {
  
  // Create an integer
  int numberValue = 5;
  
  // Create a float (decimal value)
  float decimalValue = 4.5;
  
  // Create a large (or small) number
  double largeValue = 6500000;
  
  // Create a larger (or much smaller) number
  long largerValue = 5555555555;

  // Create the largest (or smallest) number
  long double largestValue = 777777777777777777;
  
  // Create a character value
  char letterValue = 'A';

  // Create a Boolean value
  bool trueOrFalseValue = true;

  // Return 0
  return 0;

}
gcc version 4.6.3