Computer Science, asked by Phantom2099, 1 year ago

what is Procedural Oriented Programming ?(P.O.P)

Answers

Answered by shreyakumbhar
6

Hiii

===================================================

Procedural or Procedure Oriented Programming (POP): As the name implies, Procedure Oriented Programming contains step by step procedure to execute. Here, the problems get decomposed into small parts and then to solve each part one or more functions are used. Thus in POP approach, the problem is viewed as a sequence of things to be done, such as, input taking, calculating and displaying. The primary focus stays on functions which will be used to accomplish each task.

In POP approach, we write lines of instruction to be followed by computer to accomplish a task and by organizing these instructions into groups we create functions.

For example, considering that we have to take two values from user and then to display the summation of the inputted values. In POP approach this problem may be decomposed as following,

1.First take an input and put it under one variable, here taking as a.

2.Then take another input and put it under another variable, here taking as b.

3.Now define a variable, such as c, as c = a + b.

4.Now display c.

========================================

Hope it will help u


Phantom2099: it helped me a lot
shreyakumbhar: 0ooo
shreyakumbhar: plzz mark as brainliest
Phantom2099: ok later i will
Phantom2099: when someone else would answer
shreyakumbhar: kk
Phantom2099: what is kk
shreyakumbhar: ok
Answered by robinadogra1212
2

Answer:

okay mark him branlist

it's too rare someone will right such long

Similar questions