The problem solving aspect of programming with examples


The problem solving aspect of programming with examples

Problem solving is making efforts to find a solution to a problem.The complexity of a problem is determined by the time taken to solve it.There are problems that have no readymade solution.Such problems are called Open Problems.
The computer is best suited for its repetitive ability and correctness of solutions to problems.Even an ordinary user can use it and get the results,once the program is written for solving a problem.Quite often,problems are not understood correctly.It may be due to the complexity of the problems.Therefore,if a problem could be explained with the help of examples,it would make it easier to understand.

Example 1:-
To find the some of the digits in a number,we can divide the problem into 3 parts:
(1) finding the modulus of 10
(2) adding the number to a sum whose initial value is zero
(3) dividing the number by 10 and then repeating the process from (1)again till the quotient is zero

Advertisements

3 thoughts on “The problem solving aspect of programming with examples

  1. I’ve been surfing on-line greater than 3 hours as of late, yet I never discovered any fascinating article like yours.
    It’s beautiful worth sufficient for me.
    Personally, if all website owners and bloggers made just right content as you
    did, the internet will be much more helpful than ever before.

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s