Loop in Java Structure

LOOP

Start One Counter

Create Report

Add 1 to Counter (until 3)

Inputting the Data

Input name and 4 subject and 4 marks

Prompt message and a read ___ for each variable

Print the Data (Report Card)

Print to Console

Print out the name

Print out 1st subject and mark

Print out 2ndsubject and mark

Print out 3rdsubject and mark

Print out 4thsubject and mark

Declare Variables

Double

mark1

mark2

mark3

mark4

average

String

subject 1

subject2

subject3

subject4

name

homeroom

Calculations/Processing

Calculations

calculate the average (add all marks)/4