It seems we cannot find what you are looking for. Perhaps searching can help.
Browsing Category
Today we talk about basic concepts of programming. An Algorithm is a visualization of how you going to solve a problem. Algorithms are consist of different types of blogs, the most common blocks are terminal block which indicates the beginning or the ending of a program. The process block represents the cell of operations, the decision block which shows a condition the determination of which path the program will take, and the input or output block which is self-adaptive. So without that in mind, you can use these blocks to present an idea of how you want to solve a problem. For example say you have a number let’s call it A if A is positive divide it by two and if it is negative you want to multiply two. How do you go about making an algorithm to solve this problem? Well, it’s simple first you input the number A then you have a condition where you ask if A is positive or another word greater or equal to zero if that is yes you divide the number A/2. Is it not that case A is negative and you want to multiply it by two. Finally, do you want to output the results or do you value the number A?