There are three types of languages: 1. Imperative. 2. Functional. 3. Logical. In computer science, imperative programming is a programming paradigm that describes computation in terms of statements that change a program state. In much the same way that imperative mood in natural languages expresses commands to take action, imperative programs define sequences of commands …