C# input output example

This is a little Program written in C sharp with Mono, It reads a number from the Terminal multiplies with itself and then print back:

To compile run this:

And then start with Mono :

our result looks like this:

The same Programm in Java is here : Java input output example

Fortran input output example

This is a little Fortran example hot to read, calculate and write in terminal:

our output:

Java input output example

This is a little example in Java how to print an info text and then read a number from the terminal, calculate the square and then print the result:

To compile your test.java file run this in your terminal:

now we have the file test, to execute run this:

This is the output:

The same Program in C# is here : C# input output example