Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos in data types page #162

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lessons/dataTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ description: "Learn java"
icon: "coffee"
---

So before knowing what are data types. First let's know what are variable and Constants.
Before knowing what data types are, let's learn about variables and constants.

## Variable

Simply, Variable are placeholder for some data values. when we are creating a variable we are just
Simply, Variables are placeholders for some data values. When we are creating a variable we are just
reserving some memory
locations or reserving some space in memory to store values. In C++, there are different types of variables,eg:

Expand All @@ -21,9 +21,9 @@ locations or reserving some space in memory to store values. In C++, there are d

## Constant

As its name suggest **constant**- which does not change, they remain fixed. Basically these are fixed values which
As its name suggests **constant**- which does not change, they remain fixed. Basically, these are fixed values which
do not change and it must have to be initialized at the time of creation, we can not assign any new values to
it later. That's why these are called **literals**, cuz it can not be modified.
it later. That's why these are called **literals**, cuz they can not be modified.

## Data Types

Expand Down
2 changes: 1 addition & 1 deletion lessons/intro-programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ section: "Introduction"
description: "learn Java"
---

There is a question comes in everyone's mind before getting started with coding or ds algo or Competitive Programming(**cp**) - Which is the best programming language to get started with? And truly it's quite important to figure out the language which is most suitable for you.
There is a question that comes to everyone's mind before getting started with coding or ds algo or Competitive Programming(**cp**) - Which is the best programming language to get started with? And truly it's quite important to figure out the language which is most suitable for you.
So we're just going to recommend you two languages-

1. C++
Expand Down