Getting user input:
Scanln() function from the "bufio" package is commonly used to get user input from
the console in Go.
Printing output to console:
fmt.Println() function from the "fmt" package is commonly used to print output to
the console in Go.
Arithmetic Operators and Variables:
Arithmetic operators:
+ (addition), - (subtraction), * (multiplication), / (division), % (modulus), ++
(increment), and -- (decrement).
Variables:
Used to store values in a program.
Declare a variable using the var keyword, followed by the variable name, and the
data type.
Conditional Statements and Loops:
Conditional statements:
if, else, else if statements.
Loops:
for, range loops.
Modulus and Remainder Operations:
Modulus (%) and remainder (\):
Modulus gives the remainder of a division, while the remainder operator gives the
signed remainder of a division.
Factorial and Division Operations:
Factorial (!):
Returns the product of all positive integers less than or equal to n.
Division (/):
Returns the quotient of the division.
String Concatenation and Manipulation:
Concatenation:
Combining two or more strings into one using the + operator.
Manipulation:
Various string manipulation functions available in the strings package.
Matrix Addition and Factorial Calculations:
Matrix Addition:
Matrices can be added by adding corresponding elements.
Factorial Calculations:
Factorial can be calculated using recursion or iteration.
Note: This is a high-level overview of the Console Input/Output Operations, and
more detailed information should be researched or consulted for complete
understanding