A little bit of programming - Hello World

I started to learn VB and Python at the same time, and found it difficult to remember codes and meanings. As I am learning by watching videos and trying to do the same in programs I decided to keep some knowledge online, instead of looking for a video or for a file with code. So here I will keep some first codes to remember  and repeat it.

My first code in which I learnt how to tell the application to show a string (opposite to valuables, meaning digits).

Module Module1

    Sub Main()
        Console.WriteLine("Hello World!")
        Console.ReadLine()
    End Sub

End Module

 

And a little bit of a conversation with a computer, maybe at some point I will learn how to give different answers, depending on using some key words like: nice, fine, wonderful or bad. Smile

 

Module Module1

    Sub Main()
        Console.WriteLine("Hello World!")
        Console.ReadLine()
        Console.WriteLine("How are you today?")
        Console.ReadLine()
        Console.WriteLine("Anyway, have a wonderful day!")
        Console.ReadLine()

    End Sub

End Module

0 comments:

About this blog


Pages

Powered by Blogger.

Popular Posts

About Me

Blogger templates

Blogroll

Blog Archive

Blogger templates

Blogger news