9 building Blocks of any programming language ======== > In a nutshell

Words
213
Reading
1 min
Listen
Play
9y

code-1839406_960_720.jpg

Programming is fun and it also gives you power to do very interesting things

Here are building blocks of any programming language.
if you learn them, you pretty much learn all the languages.

  1. Constant Values,
    numbers, 1, 2, 56, 3.4, -1.223
    String constants , "I am Hero" "I am King"

  2. Variables
    var myvariable = 10;
    int myinteger = 100;
    string mystring = "I am Bilal";

  3. Arithmetic operations
    Addition : var x = 10 + 20;
    Subtraction: var y = 40-90;
    Multiplication, division, modulus, cosine, sine other scientific operations

  4. Logical operation
    And - "I am king" AND "I am Bilal"
    Or - "You give me Votes" OR "you go to Hell"
    NOT - I am NOT a Hacker

  5. Conditional statements
    IF, ELSE, ELSE IF,

  6. Switch Cases
    Case 1: Case 2: so on
    Switch Case

  7. Loops
    While loop
    For loop
    Foreach Loop
    Do While loop

  8. Data Structures
    Variables
    Arrays
    Structures
    Classes

  9. Filing,
    Where you learn to read and write to a file.
    using your program.

If you want to learn to program, This this as a guide
you need to learn all these things. from the very start
if you learn them. you pretty much can code in all languages.
there will be difference of syntax but. mostly all these concepts will be used.

9 building Blocks of any programming language ======== > In a nutsh... | Ecency