Construct a program flowchart and corresponding pseudocode


1. Write program flowchart and corresponding pseudocode to solve the following problem: Assuming that one number is input, output the number and a message indicating whether it is positive or negative. output nothing if the number is 0.

2. Construct a program flowchart and corresponding pseudocode to develop a solution algorithm for a program that will compute and output the sum of the numbers 1, 3, 5, 7,..., 99. Be sure to construct a well-structured program.

3. Construct a program flowchart and corresponding pseudocode to solve the following problem: You are in a pumpkin patch looking for the great pumpkin. The first input record indicates how many pumpkin weight record follows. Several input records, each containing the weight of a pumpkin, follow the first input record. Assume that all pumpkin weights are greater than 0. You are to find the largest weight and the average weight of all the pumpkins. You are to output each weight, as well as the largest weight and the average weight. Include a initial IFTHENELSE control structure in the design that will output a descriptive message if the header record indicates that there are no input records to process.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Construct a program flowchart and corresponding pseudocode
Reference No:- TGS02478162

Now Priced at $15 (50% Discount)

Recommended (90%)

Rated (4.3/5)