answersLogoWhite

0


Best Answer

Pre-test loop in C#

bool condition = false; [NOTE: this line is not part of the loop it is the condition which must be met for the loop to occur. If it is not satisfied the loop does not happen.

while (condition == false)
{
Do stuff
condition = checkCondition();
}

To draw this as a flowchart you just have to show that your flowchart can repeat a step/steps indefinitely depending on a condition

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

A flow chart is a semi-graphical way of expressing an algorithm, while "C" is a family of programming languages. The C Programming languages can be used to implement an algorithm, which might be expressed through a flowchart.

An equivalent of a flowchart in C, or in another non-graphical programming language, does not exist. However, it is possible to correlate certain elements of a flowchart with certain language constructs. For example, the diamond shape used to represent decisions would typically correlate to an if statement in C. Note that this correlation is ambiguous; while a decision might be implemented using the if keyword, it might also be implemented differently (such as, for example, with the switch keyword).

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Flow charts are used to visualise algorithms, not programming languages. Algorithms are written in pseudo-code, you simply translate that into a flow-chart to show the algorithm's structure, such as loops and decisions.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

There are no flow charts in C language. A flow chart is a programming tool that helps programmer visualise the flow of execution through an algorithm, thus making it easier for the programmer to encode the algorithm.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

A flow chart is an aid to getting the logic in a program doing the wright things. A flow chart is useful with any programming language.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Paper, pencil and a flow chart symbol template.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Your question makes no sense.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantage of flowchart in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How to draw Flowchart to print prime numbers from 1 to 100 using while loop in c language?

c the book mastering c


When and what are the symbols used in the flowchart for the program for the calculation of average numbers in C language?

Look up "Flowchart" in wikepedia, most of what you need to know can be found there. Get a flow chart symbol template and a sheet of paper and you are on your way.


Advantage of c language?

You can write computer-programs in it.


Hcf flowchart of c?

sfafa


Why is the interactive Visual Logic flowchart program more useful than a manually drawn flowchart?

A manual flowchart is static. The advantage of an interactive Visual Logic flowchart is that it allows users to input values for various variables at runtime. When the flowchart is finished, users can then run the program behind the chart.


Flowchart to show the greatest among a, b, c?

A


What is the advantage of a translator that is source to source compiler with C as target language?

For example, if you don't have a FooBar-language compiler, but have a FooBar-to-C translator, then you still can use FooBar-language programs.


Write a flowchart of reverse the string in c?

wefwfe


Flowchart for addition of two numbers?

start accept a,b and c c=a+b display c stop


What is the definition of c sharp programming language?

C# is a derivative of C++, designed to allow C++ programmers to take advantage of the .NET environment. Officially, it is an object oriented language that encompasses strong typing and component orientation.


Example of flowchart of while loop in c plus plus?

kk


What is the algorithm and flowchart to calculate the simple interest for 5 customers?

algorithms is language independent