Can someone answer these questions?

Why are control structures valuable?

Why are added libraries valuable?

How can writing a custom function benefit a programmer?

Ask google.

1 Like

Yes, I can.

1 Like

Control structures (if, while, for etc) allow the program to modify it’s behaviour based on conditions at runtime.

Added libraries allow you to implement capabilities already developed by earlier developers.

Custom functions let you put frequently called blocks of code in a single place - shortening your code, and making it more readable.

@lastchancename, I guess you're more of a "Give a man a fish" kind of guy rather than helping him learn how to fish. Generally it's preferable for people to do their own homework.

1 Like

I’m not big on fish… too many bones to pick out of my teeth! :hugs:

1 Like

Do your own comp-sci homework!

They are all abstractions above the assembly level, which makes programmers more productive.

Q1: Why are control structures valuable?
The following is the answer from google. How much is it going to help OP. He needs better answer with examples.

Control Structures constitute the basic blocks for decision making processes in computing. They change the flow of programs and enable us to construct complex sets of instructions out of simpler building blocks.Jan 21, 2020

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.