There are four simple steps to solve our coding problems                                                                                                                                                                                                                                                                    
1. Understand the problems...?                                       2. Devise a plan ...?                                                       3.Carry out the plan...?                                                 4. Look back...?                                                                                       1. Understanding the problems        First reads the problem after reading clarify any part if you do not understand the first step play an important role to solving the coding problem if you do not under stand the problem so you take time but after a time you understand the problem                                                                                                                                                                                                         
2. Devise a plan...                          After understanding the problems than make Devise plan Pseudocode is a language that describe all the steps in antilog then write the steps that you need to solve for solve the problems you write                                                                                                                                                                           // create a sum variable           
                                                                                                                          Add the first input in the second input using the additinal operators                                                                     // Store value of both input into sum variable                                                                                                    // return the output as sum variable                                                                        Now you have plan to solve the problems                                                                                                                                                                                                                                                                                                                3. carry out the problem.....                      Now the next step is to solve the problem is carry out the problems so take the Pseudocode as a guide and then write the code                                                                                                                                                                              function add (a,  b)                                                                                                                                        const sum = a + b                                                                                                                                            return sum;                                                                                                                                                                                           4 look back                                           The look back is the most important step because we notice the mistake that we do and also do improvment on on our steps                                  
 
Comments
Post a Comment