Algorithms are the essence of programming. After their construction, they have to be translated to the codes of a specific programming language. There exists a maximum of ten basic algorithmic templates. This textbook aims to provide the reader with a more convenient and efficient method to create a program by translating algorithms, template by template with C++ and Java. This is the slogan of the book: You will be a professional programmer whenever you become a skilled algorithm designer. This book attempts to gradually strengthen the readers' ability to identify and analyze the mental commands which are issued and implemented in their brains for solving the problems in which mathematical computations are applied and try to design an algorithm based on their understanding and analyses. It then seeks to encourage the readers to develop their skills in algorithm-writing for computational problems and synchronously teach them to translate the algorithms into C++ and Java codes using the least necessary keywords.