Skip to content

Commit

Permalink
Statements and functions link fix #38
Browse files Browse the repository at this point in the history
  • Loading branch information
shhossain committed Oct 2, 2022
1 parent ffac154 commit 25c6b76
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,13 @@ Non-primitive data types are also known as reference data types. They are create
- [Function](Data%20Types/readme.md#function)
- [Class](Data%20Types/readme.md#class)

## [Statements and Functions](Functions%20and%20Statements/readme.md)
## [Statements and Functions](Statements%20and%20Functions/readme.md)
In computer programming, a statement is a syntactic unit of an imperative programming language that expresses some action to be carried out. A program written in such a language is formed by a sequence of one or more statements. A statement may have internal components (e.g., expressions).

A function is a block of statements that performs a specific task. Functions accept data, process it, and return a result. Functions are written primarily to support the concept of reusability. Once a function is written, it can be called easily, without having to write the same code again and again.

Different functional languages use different syntax to write a function.

<hr>

There are two main types of statements in any programming language that are necessary to build the logic of a code.
1. [Conditional-Statements](Statements%20and%20Functions/readme.md#conditional-statements)
Expand All @@ -139,7 +138,6 @@ There are two types of conditional statements mainly:
- if else
- switch case

<br>

2. [Loops](Statements%20and%20Functions/readme.md#loops)

Expand All @@ -148,7 +146,6 @@ There are three types of conditional statements mainly:
- while loop
- do - while loop (a variation of while loop)

<hr>

## [Data Structures](Data%20Structures/readme.md)
In computer science, a data structure is a data organization, management, and storage format that enables efficient access and modification. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.
Expand Down

0 comments on commit 25c6b76

Please sign in to comment.