Home  >  Article  >  Backend Development  >  Does the algorithm implemented with a C program have to have input and output operations?

Does the algorithm implemented with a C program have to have input and output operations?

藏色散人
藏色散人Original
2020-04-25 09:46:3714120browse

Does the algorithm implemented with a C program have to have input and output operations?

Does the algorithm implemented with a c program have to have input and output operations?

The algorithm implemented in C program can have no input but must have output!

The five characteristics of an algorithm are: finiteness; determinism; feasibility; 0 or more inputs; and one or more outputs. Therefore, the algorithm implemented in C program can have no input but must have output.

Recommended: "c Language Tutorial"

C language is currently the most popular and widely used process-oriented high-level programming language in the world. C language is obviously better than other high-level languages ​​for operating systems and system applications, as well as for occasions where hardware needs to be operated. Many large-scale application software are written in C language.

C language has strong drawing ability, portability, and strong data processing capabilities, so it is suitable for writing system software. Three-dimensional, two-dimensional graphics and animation are its high-level languages ​​for numerical calculations.

The above is the detailed content of Does the algorithm implemented with a C program have to have input and output operations?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn