Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Student average
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


gabriel lopez
Student average
0 Answer(s)      2 years and 6 months ago
Posted in : Java Beginners


you are an academic scholar.one requirement to maintain this status is to maintain an average not below 1.8. write a java program that reads student's number of subject taken, the final grade of each subject. your program should display and the number of units of each subject. your program should display the average grade of the student and would display the message "congratulation, you have maintained your status!" if the student is still qualified, or a message "im sorry, you didn't make it..." if not.

Sample output

Enter number of subjects: 3

Enter subject1 grade: 1.6 Enter number of units: 3

Enter subject2 grade: 1.7 Enter number of units: 3

Enter subject3 grade: 1.2 Enter number of units: 1

you got an average of 1.59 congratulation! you have maintained your status


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Student average
should display the average grade of the student and would display the message...Student average  you are an academic scholar.one requirement to maintain this status is to maintain an average not below 1.8. write a java program
Average
Average   I have created a file that reads in a text file for a combo..., assignments, etc.) so I can have the average of each item. I then need to graph...); txtStudentID.setToolTipText("Enter Student Name
Advertisements
compute the average of degrees
compute the average of degrees  using c++ language , write a program to do the following 1 enter three degrees of a student by the user . 2 compute the average of his degrees
calculate average
and write a program and calculate your final average in this course. The details
Student Marks
Student Marks  Hi everyone I have to do this java assignment... programming grades of 8 IT students. Randomly create student numbers for each... in an array. Addresses of Students and store them in array. Previous Grade for student
Average Age of my Class?
Average Age of my Class?  average age of my class
Student database
Student database  Create a class Student with Name, Gender, and Date of Birth and Input Student and print as ?Dear Mr/Mrs Name, your Age is 99 Years?. Mr/Mrs - only one should be displayed based on their age and Gender
student details
student details  hi sir/madam i have a doubt in PHP how to insert student details using mysql with php..   Have a look at the following link: PHP Mysql insert
student details
student details  create an application for details of 1st to 5th standard students by using loops and scanner
student info
student info  code of insert,delete,update,view,search of student information using jsp and servelts   Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/user-search.shtml http
student database
student database  student records such as fees-school fees, dob,age,if any due.the record stored should be like this record,name,age,dob,fee list or any dues of the student record1 isha 15 20jan record2 spandana 14 4feb record3
sum and average of grades
sum and average of grades  how to print a program which is sum and average of Korean (90), English(85), Mathematics(78), Biology(65), Chemistry(83
Hibernate criteria average Example
Hibernate criteria average Example   How to find the average in Hibernate? Thanks   Example of finding average on a filed in Hibernate using criteria. For this you have to use Projections.avg() in your program. Check
Student Marks
Student Marks  Create a simple application which can calculate 5 marks entered by user and find the grade. Create a simple application which can calculate 5 marks entered by user and find the grade. You must display the grade
SQL Average
SQL Average       SQL Average, the part of Aggregate Function. SQL Average is used to compute average value of the records in a table of the database. Understand
How to calculate the average in Hibernate?
How to calculate the average in Hibernate?  Hi, I have to calculate the average in Hibernate. How to calculate the average in Hibernate? Thanks... of calculating the average on the fee field in database: Projections.avg("fee
Calculate sum and Average in java
Calculate sum and Average in java  How to calculate sum and average.... Description:- In this example we are calculating sum and average of n numbers... the sum by the total number of numbers, we have determined the average of numbers
PHP Get Average - PHP
PHP Get Average  I am writing a method to calculate the average rating of the posted answers? can anyone help me with the method to calculate rating in PHP. In my code, we are providing maximum four options to the user to rate
Average of Array
Average of Array       In this section, we will learn how to get an average of array. For this, first... that calculates the average of array (result/nums.length). And finally it will display
Calculate an average Age of my Class?
Calculate an average Age of my Class?  average age of my class
Highest average score among 25 students
again the grade) calculate average per student and will calculate the highest average among students who should be printed. how can i solve this problem...Highest average score among 25 students  a program that prompts
student information system
student information system  can you show me example of "student information system" pseudo code and flow chart with "student name, student id, student residential hall, student course, student phone numbers
array average across column
array average across column  How can I find the overall averages of the columns in this array? when i run my code it gives me an output that looks like this (showing me wrong averages): How can I find the overall averages
html code for student information?
html code for student information?  html code for student information
MySQL Average Command
MySQL Average Command This example illustrates how to execute the Average command in MySQL. In this example we create a select query to find the average of 'lastAccess' field.   Query  
SQL Average Count
SQL Average Count       Average Count in SQL is used to count the aggregate sum of any field... example ,which helps you to calculate the average count of any records specified
student admission system project
student admission system project  College Student Admission System... Student Admission Project in Java with Source code, that includes Following Forms 1) Student Admission based,its urgent sir
Finding Average in JSP
Finding Average in JSP          In mathematics, an average is a measure of the middle of the data set. The average value is the total amount divided by the total
Advertisements
 

 

 

DMCA.com