# Algorithm to find the smallest number among three numbers in C programming language?

It's an algorithm you want, or a C program?

Here is the algorithm:

min3 (a, b, c) := min2 (a, min2 (b, c))

min2 (x, y) := y if x>y; x otherwise

### How to write pseudo-code for a program that displays numbers in reverse 10 down to 1?

Pseudo-code is an informal method of describing an algorithm in language, but the chosen language can be anything. Key to pseudo-code is to describe the algorithm unambiguously and intuitively, and free from knowledge or constrains of a particular human language or programming language. As an example, an algorithm which counts down from 10 to 1 could be described like so: for each whole number N, counting down from 10 to 1 in steps of 1…

### Is there any programming language that uses no math or numbers?

I cannot think of any. All programming language are developed/designed from math thoeries and dealing with numbers (binaries). It may seem that a program is not dealing with numbers, like text processor. But in reality, those text are still numbers (0s and 1s). Even the application you try to write has nothing to do with numbers or math, however, the code you write, still require some math background to understand the syntax and semantics. In…

### What is sub-algorithm?

It is an algorithm used by another algorithm as part of the second algorithm's operation. As an example, an algorithm for finding the median value in a list of numbers might include sorting the numbers as a sub-algorithm: There are plenty of algorithms for sorting, and the specifics of the sorting does not matter to the "median value" algorithm, only that the numbers are sorted when the sub-algorithm is done. For what an algorithm is…

### When was the first generation programming language developed?

In 1842-1843 Ada Lovelace wrote an algorithm for computer-generated Bernoulli numbers making it the first computer program ever. Historians have credited her with being the worlds first computer programmer. First generation or machine language is a series of ones and zeros that give a computer its commands, and it is the only language a computer can understand.

### Why were computer programming languages invented?

As a CPU only processes written in machine language (binary) programming languages, which uses words instead of numbers is the reason that programming languages were invented. It allows programmers to write application in programming language statements that then uses special software to convert the program into machine language. (Gaddis, Tony, Irvine, Kip; Starting out with visual basic, 2005)