B
B
bivebola2021-05-28 17:30:58
Software design
bivebola, 2021-05-28 17:30:58

Why is a function needed?

For example, I want to write a program that will calculate the amount of a mortgage for a certain period. I tried to write such a program through loops. But after all it will be easier to write it through functions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2021-05-28
@bivebola

Nothing prevents you from using both.
And the question is revealed by reading at least the first chapters of any practical training book on the basics of programming.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question