Procedural code is very much a script. C is a mainly procedural language.
1- Prompt user for input
2- Scan input buffer for requested input
3- Do something with the input
4- Show the result to the user
Object-oriented programming relies on classes, functions, objects, pointers, etc. I think of it like this. When you program your microwave to cook something for 2 minutes, you don't need to know how the microwave works internally. You just need to know what type of data the microwave accepts (cold food item and cooking time) and wait for it to return something (the heated food).
1- x is an object of the class "Calculations".
2- call function x->getuserinput.
3- call function x->calculateSum
4- call function x->showResult
At first glance object-oriented computing seems more complicated than procedural computing, but for large-scale projects it's much more conveniant. With procedural code you end up writing out the same operation multiple times. You just have to write the procedure once, and call it in the main script whenever you want to use it. You can even take your classes and use them in multiple programs.