Algo programmers
Kanalga Telegram’da o‘tish
join to share your code learning experience
Ko'proq ko'rsatishMamlakat belgilanmaganToif belgilanmagan
286
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
aw kenesumma yikebdal inna lessu discourage sathone "Focus on tutorials and practices"
Repost from Ethio Exams
አስደሳች ዜና…..ተመዝግበው የመጀመሪያ ምድቦን 3 አይነት 1.3 ነጠብ ያላቸው ምርጫዎች ላይ ሲመድቡ ነጻ የ20 ብር ጉርሻ ያገኛሉ! አሁኑኑ ተመዝግባችሁ ተወራረዱ!21 በሃላፊነት ይጫወቱ!
Repost from EvoNext
📥PHP: A popular general-purpose scripting language that is especially suited to web development.
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
🔱
Repost from BLUM KEYWORS | AIRDROP CODES
Example: A Program to find the largest element in an array of n elements/ which reads numbers from keyboard
#include
using namespace std;
int main(){
//n is the number of elements in the array
int n, largest;
int num[50];
cout cin>>n;
/* Loop runs from o to n, in such a way that first
* element entered by user is stored in num[0], second
* in num[1] and so on.
*/
for(int i = 0; i < n; i++) {
cout cin>>num[i];
}
// Storing first array element in "largest" variable
largest = num[0];
for(int i = 1;i < n; i++) {
/* We are comparing largest variable with every element
* of array. If there is an element which is greater than
* largest variable value then we are copying that variable
* to largest, this way we have the largest element copied
* to the variable named "largest" at the end of the loop
*
*/
if(largest < num[i])
largest = num[i];
}
cout return 0;
}
@ethio_programming_tips
Join us👆
Wuy, አታልቅስ የኔ ውድ ወንድሜ አሪፍ ጥያቄ እኮ ነው የሰጠኸን።🙏🙏 ፈጣሪ እውቀትና ፣ ጤና እና እድሜ፣ ፅናት ይስጥህ።🙏🙏🙏🙏❤️
Repost from EvoNext
(Javascript)✳️ LESSON 1: VARIABLES AND STATEMENTS💻
> JS Variables are containers for storing information.
JavaScript statements often start with a statement identifier to identify the JavaScript action to be performed.
> JS Statement identifiers are reserved words and cannot be used as variable names (or any other things).
Eg:- break, class, const, let, for , var ,,....etc
❓HOW DO WE DECLARE AND INITIALIZE iN JS?⁉️
LET:_ The let declaration declares a block-scoped local variable, optionally initializing it to a value.
// Create a variable to store the city
let city = 'Philadelphia'// Create a variable to store the state
let state = 'Pennsylvania'// Create a variable to combine the city and state
let location = city + ', ' + state// Print the combined location to the terminal( console)
console.log(location)
Example 2:_ Let's strore numbers
// Create a number and assign to a variable
let age = 26// Add
let addResult = age + 1// 27 // Subtract
let subtractResult = age - 26.5// Multiply
let multiplyResult = age * 10// Divide
let divideResult = age / 2// -0.5 // 260 // 13 // Parenthesis can be used to make sure ⛔️Note that JS comments allow you tp document your code. The content of your comment id for human only. //look the above comment lines like this Question for you??⁉️⁉️ What are the other key words used to declare variables in JS other than LET?? [
comment your answer below ]
👇👇👇👇👇👇👇👇👇👇
OUR CHANNEL :_ AlgoMasters Join and share now!!
OUR GROUP:_ Algo Programmers discuss here
OUR BOT:_ HELLO_AlgoMasters
👆👆👆👆👆👆👆👆👆👆👆
lessons continues...