Explore BrainMass

# Pseudocode to check if sum of 2 items in an array is 100

Not what you're looking for? Search our solutions OR ask your own Custom question.

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

Write and explain the pseudocode to check whether there are 2 items in an array of n integers so that their total is 100.

https://brainmass.com/computer-science/pseudocode/pseudocode-check-sum-items-array-73185

#### Solution Preview

Hi,

This is Leela Krishna. I am attaching a doc with pseudocode and a simple explanation (the pseudocode itself explains the logic, but i wrote explanation also).

Question: Write and explain the pseudocode to check whether there are 2 items in an array of n integers so that their total is 100

Solution:

Assumption: Let the array be A and array elements are stored from 1 ...

#### Solution Summary

The solution clearly explains writing a pseudocode to check if sum of 2 items in an array is 100.

\$2.49