Computer Science, asked by hamsaveni5, 1 month ago

Write a short note on which of OOP or procedural programming language will be convenient
for:
1. Modelling a football match as a computer game.
2. Finding algorithm to calculate LCM of more than two numbers,
3. Finding area of a triangle, given its side lengths.
4. Modelling buying and selling in a departmental store.​

Answers

Answered by rehanjaffer555
0

Explanation:

In Top-down approach, we first list down the main steps involved in solving a problem. After that we break up each of those steps into their sub-steps and so on. This is similar to Procedure Oriented Programming where we first write a main function and then call sub-functions from the main function to perform each of these steps.

Similar questions