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

### Like this:

Like Loading...

*Related*

An intriguing discussion is worth comment.

To the next! Kind regards!!

LikeLiked by 1 person

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.

LikeLiked by 1 person

Thanks

LikeLike