answersLogoWhite

0


Best Answer

Algorithms are created using pseudocode, which is a combination of natural language (such as English) and commonly understood programming concepts. Pseudocode is a machine-independent language, but it is far too abstract for a machine to understand. It is intended for humans only. As programmers, our job is to translate these algorithms into a form the machine can process in order to produce the required machine-dependent code. For this we use programming languages, such as C, C++ and Java.

The more abstract the programming language, the easier it is to convert an algorithm into working code. Of all the high-level programming languages, C has the least amount of abstraction, however we can make use of third party libraries to increase the amount of abstraction, or we can use the language itself to create our own abstractions.

User Avatar

Wiki User

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

Wiki User

12y ago

It is very easy to write the program for seeing the algorithm.

Most of the problems that we are write with seeing the algorithm only.

Algorithm is very easy to write the any source code seeing this is very useful to write the program

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

it is a person who is very ugly and depressed

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

It depends on which algorithm. First of all you need to write is so called pseudo code after that transform into c code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to write algorithm in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write an Algorithm for a C plus plus Program?

You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.


What is the difference between an algorithm and a computer program?


What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield


Can you give a C program about SJF algorithm?

no.


How do you RSA algorithm c?

Perform encryption on the following PT using RSA and find the CT p = 3; q = 11; M = 5


Write a program to implement prim's algorithm?

dfgbrgffee


How can i write pseudo code for C plus plus if i haven't even wrote the program yet?

You are going about this backwards. First, define the program. Second, describe its algorithm. Third, if needed, write pseudo code. (Sometime, algorithm and pseudo code is the same process.) Fourth, or third, write real code.


Program in c to develop an algorithm that prints the n value of algorithm?

reymond rillera reymond rillera


Write a c program to find smallest among three using function with pointers?

Please visit http://talentsealed.blogspot.com/2009/10/to-find-smallest-among-three-using.htmlfor answer.


How do you write algorithms of java programs?

Write a program that graphically demonstrates the shortest path algorithm


What is algorithm write properties of algorithm?

An ALGORITHM is a sequence of steps that depicts the program logic independent of the language in which it is to be implemented. An algorithm should be designed with space and time complexities in mind.


How does algorithm and c plus plus program get along?

They are bosom-friends.