shubhambhardwaj258200

shubhambhardwaj258200

Lv1

shubhambhardwaj258200

0 Followers
0 Following
0 Helped

ANSWERS

Published2

Subjects

Science1Computer Science1
Answer: Based on the information provided, I would extract the compound from t...

Please show examples of the output window

Write a program using studentdata.txt Download the file and paste it into your NetBeans project at the root of the project This file contains hundreds of records where each record contains a student's S-number and their gpa. Your program must read the id number and gpa and transfer the data into two separate arrays. You can assume there will never be more than 1000 students in the file. Use two additional arrays to complete the requirements of the program create a simple diagram called a histogram to show how many students fall into each of 8 different categories showing how data is distributed across a range. For each student in the input file displaying their S-number, gpa, and class rank. You will have to calculate their class rank. the data contains grade point averages, the histogram will include 8 categories of gpa: 0.0 <= gpa < 0.5, 0.5 <= gpa < 1.0, 1.0 <= gpa < 1.5, 1.5 <= gpa < 2.0, 2.0 <= gpa < 2.5, 2.5 <= gpa < 3.0, 3.0 <= gpa < 3.5, 3.5 <= gpa <= 4.0 the histogram might look like is: 0.0 to 0.49 (48) **** 0.5 to 0.99 (82) ******** 1.0 to 1.49 (65) ******* The number in parentheses represents the total number of students that fall within that category. Each * represents 10 students rounded to the nearest 10. display the student id number, the gpa, and the student’s class rank. The class rank is indicating the number of students who have a better gpa if the student's rank is 27, it means that there are 26 other students who have a gpa that is better than the student with rank 27. output all the students in the order they are in the input file such as : S316542   3.45    27   S29463 1.42     801     S969870     2.75      T64 with 8 others the rank for the last student indicates T64 which means that there are 63 students with a gpa better than this student. It also indicates that this student's gpa of 2.75 is the same as 8 other students program should also work with any input file assuming it will never contain more than 1000 students. project folder must use my input file when submitting the program

Answer: Sample Output: Histogram: 0.0 to 0.49 (5) ***** 0.5 to 0.99 (16) *****...

Weekly leaderboard

Start filling in the gaps now
Log in