Programming in Amharic

Programming in Amharic Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from Programming in Amharic, Digital creator, Addis Ababa.

Exciting News! 🚀 As an ALX SE Ambassador, I'm thrilled to share that applications for the Back-End Web Development Progr...
07/02/2024

Exciting News! 🚀 As an ALX SE Ambassador, I'm thrilled to share that applications for the Back-End Web Development Program at ALX are now OPEN! 🌐 If you're passionate about diving into server-side development and creating robust websites, this is your chance. Explore the details and apply today: https://www.alxafrica.com/programme/back-end-web-development/

Learn the basics of Python programming and SQL data management to build and manage the servers, security, and data storage that help websites run properly.

16/10/2023

Promise in JavaScript

Promises in JavaScript are a way to handle asynchronous operations and manage the flow of asynchronous code ex*****on. They provide a cleaner and more structured approach to dealing with callbacks and managing asynchronous tasks.

A promise represents the eventual completion (or failure) of an asynchronous operation and allows you to handle its result. It has three possible states:

Pending: The initial state of a promise when it is neither fulfilled nor rejected.

Fulfilled: The state of a promise when the asynchronous operation completes successfully. The promise is resolved with a value.

Rejected: The state of a promise when the asynchronous operation encounters an error or fails to complete. The promise is rejected with a reason (an error message or an exception).

To create a promise, you use the Promise constructor, which takes a callback function with two parameters: resolve and reject. The callback function represents the asynchronous operation you want to perform. Within the callback function, you call resolve to fulfill the promise with a value, or reject to reject the promise with a reason.

Here's a basic example of creating and using a promise:
et graduate_this_year = false;

let my_graduation = ()=> {
return new Promise((resolve, reject)=>{
setTimeout(()=>{
if(graduate_this_year){
resolve("I will be graduated this year")
}else{
reject("This year, I will not be graduated")
}
}, 5000)
})
}
my_graduation().then((success)=>{
console.log(success)
}).catch((error)=>{
console.log(error)
})

23/01/2023

The structure of C++ for absolute beginners.
//comment here about your program


using namespace std;

int main()
{
//body

return 0;
}

23/01/2023

C++ Data Types

All variables use data type during declaration to restrict the type of data to be stored. Therefore, we can say that data types are used to tell the variables the type of data they can store. Whenever a variable is defined in C++, the compiler allocates some memory for that variable based on the data type with which it is declared. Every data type requires a different amount of memory.

C++ supports a wide variety of data types and the programmer can select the data type appropriate to the needs of the application. Data types specify the size and types of values to be stored. However, storage representation and machine instructions to manipulate each data type differ from machine to machine, although C++ instructions are identical on all machines.

C++ supports the following data types:

Primary or Built-in or Fundamental data type
Derived data types
User-defined data types

Address

Addis Ababa
1000

Website

Alerts

Be the first to know and let us send you an email when Programming in Amharic posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Programming in Amharic:

Share