If you are also a computer science student. Or do you want to learn programming. You must have heard about C programming .Before a write a program you must have some knowledge of "What is algorithm and flowchart" .and if not then you must read this post(introduction of C programming). Here you will get some basic information about C programming. In this post, what is algorithm? What is its definition. And what is its use. And with this we will also read what is the flow chart . There is nothing to worry about today, in this post we are going to understand all the points step by step.
introduction of C programming>>>click here.
So you read this post complete, and if you have any question in your mind, then you can comment, I will definitely answer your questions. So let's understand .
what is algorithm ?
An algorithm is a point-by-point demonstration of the solution to any problem. An algorithm is the logic of solving a problem. It is written before any program . The algorithm should be written in such a way that if it is converted into a program then the desired result will be found.
Example:-write a algorithm to add two numbers.
Step:-1 take first number
Step:-2 take second number
Step:- 3 Add to numbers
Step:- 4 print the value of sum
Step:- 5 end
What is flow chart ?
The graphic representation of any algorithm is called a flow chart. Some symbol is required to create a flow chart. All symbol present different meanings. The instructions given in the flow chart are case insensitive. The symbol used in the flow chart is given below.
Example of flowcharts
1.Draw a flowchart add two number.
this is a simple flowchart add two number.i give two integer value a or b ,then this value is process of rectangular box , and print value of two integer value.
suppose i have two number 5,6 .i write this number of place a or b. when this value is process of rectangular box the output is show him. here is no use of conditional statement.
2.Draw a flowchart find odd and even number.
this program used a conditional statement. here are a number.i draw a flowchart to check this number odd or even, so i use a decision symbol as you like this image.here is one condition false and one condition true, see image carefully.if the number is divide by 2 , then the number is even, if the number is not divide by 2 then the number is odd.and then print your result.
If you like this post, then you will definitely comment by comment box. If you feel that there is some loophole in this post or any suggestion, then you will definitely comment by comment box. on this blog for such useful information, here you will get new information every day. Thank you for reading the post. See you again in the next post.
introduction of C programming>>>click here.
So you read this post complete, and if you have any question in your mind, then you can comment, I will definitely answer your questions. So let's understand .
what is algorithm ?
An algorithm is a point-by-point demonstration of the solution to any problem. An algorithm is the logic of solving a problem. It is written before any program . The algorithm should be written in such a way that if it is converted into a program then the desired result will be found.
Example:-write a algorithm to add two numbers.
Step:-1 take first number
Step:-2 take second number
Step:- 3 Add to numbers
Step:- 4 print the value of sum
Step:- 5 end
What is flow chart ?
The graphic representation of any algorithm is called a flow chart. Some symbol is required to create a flow chart. All symbol present different meanings. The instructions given in the flow chart are case insensitive. The symbol used in the flow chart is given below.
Example of flowcharts
1.Draw a flowchart add two number.
this is a simple flowchart add two number.i give two integer value a or b ,then this value is process of rectangular box , and print value of two integer value.
suppose i have two number 5,6 .i write this number of place a or b. when this value is process of rectangular box the output is show him. here is no use of conditional statement.
2.Draw a flowchart find odd and even number.
this program used a conditional statement. here are a number.i draw a flowchart to check this number odd or even, so i use a decision symbol as you like this image.here is one condition false and one condition true, see image carefully.if the number is divide by 2 , then the number is even, if the number is not divide by 2 then the number is odd.and then print your result.
If you like this post, then you will definitely comment by comment box. If you feel that there is some loophole in this post or any suggestion, then you will definitely comment by comment box. on this blog for such useful information, here you will get new information every day. Thank you for reading the post. See you again in the next post.
TAGS:-
algorithm and flowchart for addition of two numbers,
algorithm and flowchart in english,
algorithm and flowchart assignment,
algorithm and flowchart advantages,
write an algorithm and flowchart for addition of two numbers,
algorithm and flowchart basics,
algorithm and flowchart book,
algorithm and flowchart computer programming,
algorithm and flowchart c programming.
*Share with friends*
0 Comments
Hey , Comment Your Query or Suggestion