Develop a java program for a grading system tha satisfies the ff requirement:\ 1. for passing an exam, a student must pass by a score of 30 or more and assessment of 20 or more to be issued a certificate 2. if a student score a total grade of 49 for both exam and assessment, the student is condoned 3. if a student satisfy both requirement 1 or 2 and paid their fees in full (thus $100), they're issued with certificate 4. the student is deemed to have failed if he doesnt meet requirement 1 or 2 5. however, the …

Member Avatar
Member Avatar
+0 forum 36

I kind of have an idea what to do, but I can't figure it out. The program needs to be able to get the students name and three test scores, then get the average score (percentage) out of the three scores. After that, you need to convert the score (percentage) into a grade. _________________________________________________________________________________________________ **Grading Scale:** ![Screen_Shot_2013-02-04_at_12.04_.32_AM_](/attachments/large/4/Screen_Shot_2013-02-04_at_12.04_.32_AM_.png "Screen_Shot_2013-02-04_at_12.04_.32_AM_") input ('Please press "Enter" to begin') while True: import math studentName = str(input('Enter your Name: ')) firstScore = int(float(input('First test score: ').replace('%', ''))) secondScore = int(float(input('Second test score: ').replace('%', ''))) thirdScore = int(float(input('Third test score: ').replace('%', ''))) scoreAvg = (firstScore + secondScore …

Member Avatar
Member Avatar
+0 forum 1

Dear all, i am soon entering 11th grade and will be studying c++ in full length. I want to learn another language to compliment it which can provide me the freedom to over a variety of devices and paltforms. I have chosen asm(assembly) as i think it very basic to all systems. I have had som difficulty in finding tutorials for it. Please suggest a language and also provide where can i have the detailed tutorials. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

**guys I wrote this, there's no errors, no warnings... but it keeps crashing on execution.. any ideas ?????** #include <stdio.h> #include <stdlib.h> #include <string.h> struct data { char * name ; int grade ; }; int compare_ints(const void *a, const void *b); int compare_strings(const void *x, const void *y); struct data *ptr; static struct data array[5] ; struct data c; //The scanf function receives just memory adress of the " variables ". Not struct definitions... int main(void) { int i=0 ; printf(" Please enter 5 student names and grades: "); for ( i=0;i<5;i++ ) { printf("\n name %d : ",i+1); …

Member Avatar
Member Avatar
+0 forum 3

A text file, grades.txt, contains data pertaining to student grades. Each line consists of: student number,course mark1, course mark2, course mark3, course mark4 The last line contains a student number 0 to indicate the end of the data. Write a C program to print a grade report, as outlined below, to the file report.txt. For each student, output the student number, the marks obtained in each course, followed by the final mark of the student(average of all the marks) and their grades (A,B,C,D or F). At the end of the report output the number of students in the file, the …

Member Avatar
Member Avatar
+0 forum 2

So I'm having some problems with my code here. and I'm not sure whats wrong. Im following a textbook on how to do it and this is basically the same format that they have for a random number function. Any feedback is appreciated. <html> <head> <title> Grades </title> <script type="text/javscript"> function Grader() { var am1=parseFloat(document.getElementById('homework').value*0.25); var am2=parseFloat(document.getElementById('labs').value*0.20); var am3=parseFloat(document.getElementById('midterm').value*0.25); var am4=parseFloat(document.getElementById('final').value*0.30); var hw=homework*am1; var lbs=labs*am2; var mt=midterm*am3; var fe=finals*am4; var total = am1+am2+am3+am4; document.getElementById('outputDiv').innerHTML='Your final grade is ' + total; } </script> </head> <body> <p> <h2>Grades</h2> <h3>Enter your grade for each section</h3> <TABLE BORDER=3 CELLSPACING=3 CELLPADDING=3> <tr> <td>Type</td> <td>Weight</td> <td>Grade</td> …

Member Avatar
Member Avatar
+0 forum 1

Hello. :) So I am creating a grading system where users can compute student's grades on selected ID Number. The problem is after clicking the COMPUTE button, an "Error!" message display. So far I can save the grades in database but I can't compute it. I'm sorry I'm new to PHP. Here is my code so far: [CODE] <?php function renderForm($ID, $FirstName, $LastName, $Attendance, $Quiz, $MidtermExam, $FinalExam, $FinalGrade, $Remarks, $error) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>COMPUTE GRADE</title> </head> <body> <?php if ($error != '') { echo '<div style="padding:4px; border:1px solid red; color:red;">'.$error.'</div>'; } ?> …

Member Avatar
Member Avatar
+0 forum 2

So im stuck writing a function and was hoping someone would be nice enough to help. My objective is to look at a list of grades such as: [CODE][23 , 64 ,74 , 53 , 55[/CODE] And return a list with the number of grades in each percentage range I.E. 0 - 10 , 10 - 20 , 20 - 30. So my output from my code above would be something like: [CODE][0 , 0 , 1 , 0 , 0 , 2 , 1 , 1 , 0 , 0 , 0[/CODE] Anyone help is appreciated thanks!

Member Avatar
Member Avatar
+0 forum 7

So, I am fairly new to C++ programming, so if you can help me, please try to keep it simple...I'm still learning. What I'm trying to do is assign a score to a grade letter (A,B,C,D,F) and then display it. This is what I'm have: [CODE]string lettergrade1; string lettergrade2; if (s1score >= 0.90) { string lettergrade1 = "A"; } else if (s1score >= 0.80) { string lettergrade1 = "B"; } else if (s1score >= 0.70) { string lettergrade1 = "C"; } else if (s1score >= 0.60) { string lettergrade1 = "D"; } else { string lettergrade1 = "F"; }[/CODE] However, …

Member Avatar
Member Avatar
+0 forum 3

This program determines the grade average, raised grade average, of individual students and all students. The program takes scanner input. In the scanner, the number of students, the number of grades for each student, and the grades of each student are entered. Ultimately, I need to print out each student's grade average, grade average when the lowest grade is dropped, total grade average of the "class," and raised grade average of the class. I have been spending an inordinate amount of time on this. Currently, my questions are: [COLOR="red"] How do I use nested for loops to take all the …

Member Avatar
Member Avatar
+0 forum 3

Hi i am doing a student grade lab where the student enters a grade they got on a test and they get a letter grade. My program only gives the user a F even if it should be another grade. This is my code. [CODE]strT1 = JOptionPane.showInputDialog("Enter 1st test score:"); std.test1 = Integer.parseInt(strT1); Te1.setText("Your grade for test 1 is " + std.T1); static char letterGrade(double g) { if (g >= 90) return 'A'; // 90 or above gets an A else if (g >= 80) return 'B'; // 80 to 89 gets a B else if (g >= 65) return …

Member Avatar
Member Avatar
+0 forum 5

Need some guidance with this program. Never had experience with sentinels so I'm not sure where to start to calculate the multiple grade inputs. [B]Requirements:[/B] [LIST] [*]Sentinel needs to be used to indicate when there are no more students to process [*]Will read data about a student one at a time [*]Will read the name of the students and their 10 grades [*]Each grade must be an integer between 0 and 100 inclusive [*]Output contains the student's name, average, and letter grade [*]When there are no more students to process, the user will type in the word "done" [*]The program …

Member Avatar
Member Avatar
+0 forum 8

Hello everyone, my assignment is to calculate each student's test average and final letter grade from a class of 20 students with 3 tests. The scores for each test are located in the text files that I am attaching. I have worked on this code for some time now, but in the output, all of the averages are incorrect. Here is an example of what a section of an output might look like: Student #1: Class Average: 95 Final Grade: A But I want to display this for each of the 20 students. Instead, it gave me a class average …

Member Avatar
Member Avatar
+0 forum 6

Hello Guys! I need help for an assignment. Somehow my code will not correspond to what I'm looking for. I'm having a hard time to find what the problem is. If you guys can please help me, I'll be more than appreciate !!!!! [I]1) Create a program that will read in four grades entered by the user and store them in an array. The program will calculate the average of the four grades and print the average to the screen as well as the four grades that the user entered. Test your program. Input: four grades Output: The four grades …

Member Avatar
Member Avatar
+0 forum 25

how todesign automatic grading system online using java i want to create one web application which creates online grading system for the students. which displays their grades,marks and ranking ...

Member Avatar
Member Avatar
+0 forum 1

Hi my name is Chris and I am currently enrolled in CMIS102 class. I am really banging my head :@(on multiple occasions) with my latest assignment. I have read every forum, book, and troubleshooting guide there is but nothing out there that has helped me to find the result or problem on why my code returns errors or 'bugs'. [CODE]#include <iostream> using namespace std ; int main() { // declaring variables: int A, B, C, D, F; char grades[5] = {'A', 'B' , 'C' , 'D' , 'F'}; // read in total score cout << endl ; cout << "Enter …

Member Avatar
Member Avatar
+0 forum 14

Ok, I've been trying to run this program on Borland C++ (Version 5.0A). The program is a Point of Sale program. I keep getting the errors "expression syntax at (121,26)" and "If statement missing ) at (129,6). Try as I might, I can't seem to fix the errors. Help? [CODE] //Point of Sale Program #include<conio.h> #include<stdlib.h> #include<fstream.h> #include<iomanip.h> #include<string.h> #include"menu.h" #include"apstring.h" #include"apstring.cpp" #define ESCAPE = 27 #define UP = 38 #define DOWN = 40 void Order(); void Total(); void Quit(); void DisplayList(); int command; struct strucTemplate { char name[20]; double price; int numberPurchased; }; strucTemplate Items[5]; int main() { strcpy(Items[0].name, …

Member Avatar
Member Avatar
+0 forum 2

I've spent the last hour trying to figure out why my calculations are not adding up. Once i run the program it just output 0 for the total points program averages and etc and it also leaves student name blank. Can someone please help me figure out the issue. thanks //Preprocessor Directives #include<iostream> #include<iomanip> #include<fstream> #include<conio.h> using namespace std; //Global variables, constants, AND function prototypes void headerfn(void); void getName(string firstName, string lastName); string firstName, lastName; int score (int firstProgramGrade, int secondProgramGrade, int thirdProgramGrade, int firstTestGrade, int secondTestGrade, int thirdTestGrade); int firstProgramGrade, secondProgramGrade, thirdProgramGrade, firstTestGrade, secondTestGrade, thirdTestGrade; void outputfn (string firstName, …

Member Avatar
Member Avatar
+0 forum 1

Got a code failiure. I tried making a code that does this. Grade calculator. Assume max points are 300. make the user submit 3 numbers between 0-100 and have them added together and divided by 300 to get a decimal to the possible nearest Hundredth or whole number. 3 numbers are basically grades of the 0-100 points. I don't expect anyone to be on this late, and I have an entire 3 days left for this code. I use Dev-Cpp Bloodshed My code fails by Ex: 1st grade 15, 2nd 15, 3rd 15. add together gets 45. then divide by …

Member Avatar
Member Avatar
+0 forum 3

Hi all, im am writing a program to take in and store a student's grade as an int. Can anyone tell me please how do i get the average score of the grade? This is what i have so far... Regards. [CODE]#include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { const int NUM_STUDENTS=5; const int NUM_SCORES=6; int i; struct Student { int number; float scores[NUM_SCORES]; }; Student studentA, studentB ={333333, {45, 53, 57, 46, 51, 55} }, studentC ={333333, {45, 53, 57, 46, 51, 55} }; cout << "Enter the STUDENTS ID NUMBER: "; …

Member Avatar
Member Avatar
+0 forum 4

I am trying to write this program to get a user inputed number of grades up to 15. I then need to add the grades, find the largest, smallest and average of the grades, and finally display the results. Here is what I have so far. I can get past the input but when i get to processing thats where my code runs into problems. [CODE]import java.util.Scanner; public class steal_ExamList { private final static int MAX_SCORE =15; double number,small,large,average; int count; private double list []; public steal_ExamList() { System.out.print("Welcome to the Exam Scores Program \n"); System.out.print ("\n"); } void getScores() …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am having a hard time with a easy problem. I need to ask a user how many scores they would like to enter (up to 15) and then use a method to get the number of scores. in the form of Enter score 1: xx.xx Enter score 2: xx.xx Enter score 3: xx.xx and so on till you hit the requested number or 15. Here is what I have so far. Your help is greatly appreciated. [CODE]import java.util.Scanner; public class Exams { public static void main ( String args [] ) {} private final static int MAX_SCORE =15; …

Member Avatar
Member Avatar
+0 forum 14

hey guys! mind if you help me here? we were asked to make a grading system. here is my code.. [CODE] #include <iostream> #include <string> #include <cstdlib> #include <iomanip> using namespace std; void main() { system("CLS"); char fn[50],ln[50]; string *name, *enam, temp, *R, wN, fin, lan; double gr, *g, temp2, *EQ; int x,y; name= new string [5]; enam= new string [5]; g=new double [5]; EQ=new double[1]; R=new string[1]; char ans='N'; do { cout<<"\t\t\t******************"<<endl; cout<<"\t\t\t Grading System "<<endl; cout<<"\t\t\t******************"<<endl; for (x=0; x<5; x++) { cout<<"Enter Last Name: "; gets(ln); *(name+x)=ln; cout<<"Enter First Name:"; gets(fn); *(enam+x)=fn; cout<<"\n"<<"Enter Grades..."<<endl; *(g+x)=0; cout<<"\n\t"<<"Quizzes:\t"; cin>>gr; *(g+x)+=gr*0.25; …

Member Avatar
Member Avatar
+0 forum 2

I'm working on an a grading program that will require the use of a couple classes. The program contains a list of "program assignments" which there are 5, and 3 test scores. The Driver class contains the scores for the students. I'm stuck writing the average methods :$ Along with the total exam scores/program scores (populateExamAverages/populateProgramAverages). Any help will be appreciated! Here's the classes I'm using... Thanks in advance!! public class ITCourseGrade { private final static int MAXCAPACITY = 30; private Student[] studentArray = new Student[MAXCAPACITY]; private double[] examAverages; private double[] programAverages; private int numberOfStudents; public ITCourseGrade(Student[] studentArray) { for …

Member Avatar
Member Avatar
+0 forum 1

Here Is My Code i am done with it and it works fine but i want to make this run in loop . like i want this program to ask Would you like to enter another Student Grade <Y/N>... Here Is the Code .. If Any 1 Can Help Plz Do .. T[B]Hank YOu Very MUch [/B] [CODE]import javax.swing.JOptionPane; public class Student { public static void main(String[] args) { Student s = new Student(); s.inputGrades(); System.out.println("Average --> " + s.getAverage()); System.out.println("Letter grade --> " + s.letterGrade()); System.out.println("s.toString() --> " + s.toString()); } final double As1 = .10; final double As2 …

Member Avatar
Member Avatar
+0 forum 4

It provides the average grade of an student. Assignment: How many students are in the class ? 3 Enter five test scores for student number 1 80 90 70 90 80 The average for student number 1 is 85 Enter five test scores for student number 2 100 60 60 90 80 The average for student number 2 is 82.5 Enter five test scores for student number 3 90 70 50 70 90 The average for student number 3 is 80 **My problem is getting the average to come out as the average?? This is my only hang up, I've …

Member Avatar
Member Avatar
+0 forum 4

I wanted to create a java program usig arrays. The program uses the file to input student name, city, grades scores and gender information. From this information the percent and letter grade should be calculated. how do i start?

Member Avatar
Member Avatar
+0 forum 2

I need help creating a grade calculator in C. I am not allowed to use conditional statements. My problem is that I have written code to determine how many total points the student has, but I cannot think of a way to classify those points as an A (90-100), B (80-89), etc. without using conditional statements. My teacher gave us a hint and told us to use #define GRADE_A 'A' letterGrade = GRADE_A and then a printf statement. I understand somewhat where he's going, but not how to put it all togethor to acheive my goal. Any thoughts?

Member Avatar
Member Avatar
+0 forum 3

im supposed to write a code that you prompt to enter 10 different grades then drop the minimum value, while computing the average of the remaining 9. I'm getting infinity as the answer when I run the program so I know my min is messed up, somewhere but i cant find it can anyone help? [CODE]using System; namespace gradeblaster { class Program { public static void Main(string[] args) { getValues(); } // end Main static void getValues() { double total; double gradeCounter; double grade; double average; double min = Double.MinValue; total = 0; gradeCounter = 1; { while (gradeCounter <= …

Member Avatar
Member Avatar
+0 forum 5

how to make a program that will ignore the highest value and the lowest value, but will get the average of the remaining values.. for example: there are 6 inputted grades, then the 4 middle values should get their average.. and will ignore the highest and lowest..? :)

Member Avatar
Member Avatar
+0 forum 1

The End.