Martin is a commander in the army. An undercover agent shares some secret information with him. The secret information: consists of a text and the name of a terrorist With the given information Martin needs to find the number of terrorists who are going to attack the army base. The agent gave Martin a hint that the number of terrorists is the number of times the terrorists name occur in the text.
Write an algorithm to help martin find the number of terrorists who are going to attack the army base.
Answers
Explanation:
Answer: Martin is a commander in the army. An undercover agent shares some secret information with him. The secret information: consists of a text and the name of a terrorist With the given information Martin needs to find the number of terrorists who are going to attack the army base. pls mark thanks and brainlist answer
Concept :
A predetermined area that can be utilized to store and orchestrate information is known as an information structure. Moreover, a calculation is a progression of methodology used to tackle a specific issue. We might make PC programs that are viable and streamlined by learning information designs and calculations. A calculation is a bunch of rules for settling a predicament or doing an undertaking. A recipe, which comprises of point by point bearings for making a dish or feast, is a common delineation of a calculation.
Explanation:
We have been given a question about algorithm.
We have to write about it.
• A calculation is a strategy for tackling issues bit by bit. A decent calculation ought to be both reality improved. Various types of issues call for different sorts of algorithmic ways to deal with be tackled in the best manner.
• In either equipment based or programming based schedules, calculations capability as a nitty gritty succession of directions that complete foreordained tasks successively.
Final answer:
In either equipment based or programming based schedules, calculations capability as a nitty gritty succession of directions that complete foreordained tasks successively.
#SPJ2