Question: Program/Software Development Life Cycle Write a program that computes the batting average for a baseball player, when the user inputs the player name, number of

Program/Software Development Life Cycle

Write a program that computes the batting average for a baseball player, when the user inputs the player name, number of hits, and at-bats for that player, then displays the player name and batting average.

Analysis: Create a program to calculate the batting average of a baseball, and display the player name and batting average.

Design: IPO Chart

Input

Process

Output

PlayerName

Hits

AtBats

Accept values for input

Compute batting average

Display batting average

PlayerName

BatAvg

OR

PSEUDO CODE DECLARE . INPUT SET .. WRITE

START

OR FLOWCHART

PROCESSING

INPUT

OUTPUT

STOP

Coding: See Raptor Program

Testing: Player name: Kyle Schwarber Hits: 1,234 At-bats: 5,678 Batting average: 0.127

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!