❤1
‼️Lesson day‼️
Today we are going to conduct an extra lesson!
@cpp_sirius👨💻
Today we are going to conduct an extra lesson!
💻 Computer Programming
🗓️ Saturday, 1st November
🕓 Time: 21:00
🧩Arrays
@cpp_sirius👨💻
❤9
<—Array—>
What is Array?
Entering and printing elements
Problems
With Functions
What is Array?
Entering and printing elements
Problems
With Functions
Massiv - bir xil toifali, chekli qiymatlar to'plami.
// E'lon qilish
// <toifa> <massiv_nomi>[elementlari soni] = {elementlar qiymatlari};
// elementlar soni = o'lchami(size)
int numbers[4] = {2, 3, 0, -5};
// 2 -> 0; 3-> 1; 0 -> 2; -5 -> 3
// Index 0dan n-1gacha;
bool a[5] = {true, true, false, false, true};
int b[100] = {12, 13, 14};
double h[34];
cin>>h[0];
cout<<h[0];
// <toifa> <massiv_nomi>[elementlari soni] = {elementlar qiymatlari};
// elementlar soni = o'lchami(size)
int numbers[4] = {2, 3, 0, -5};
// 2 -> 0; 3-> 1; 0 -> 2; -5 -> 3
// Index 0dan n-1gacha;
bool a[5] = {true, true, false, false, true};
int b[100] = {12, 13, 14};
double h[34];
cin>>h[0];
cout<<h[0];