What is a function? What do you know about main function?
Answers
Answer:
is this computer your asking say fast and mark brainiest answer
function:-
A function is a block of organized, reusable code that is used to perform a single, related action.
main function:-
Taking data and instructions from a user, processing the data as per instructions, and displaying or storing the processed data, are the four major functions of a computer. These functions are also known as the input function, process function, output function, and storage function, respectively.
Explanation:
In mathematics, a function is a binary relation between two sets that associates every element of the first set to exactly one element of the second set. Typical examples are functions from integers to integers, or from the real numbers to real numbers.