computer science

posted by .

Write a java program that reads from the user the course code, section and the scores of a student for three exams representing two midterms and a final. The percentage of each of the three exams is of fixed value 30, 30 and 40 percent respectively. Your program computes the final average grade and displays it along with the course code and the section. Hint: All data, except for the average, must be whole numbers and you should use the most efficient data type that is suitable for this specific exercise.
Sample Run:
Enter your course code: CSCI250
Enter your section: E
Enter the scores of the tests and the final: 97 83 77
CSCI250 E

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. computer science /use java language

    write the program that inputs a string representing a binary number(0s and 1s). First, your program should veerify that it is indeed a binary number, that is, the number contains only 0s and 1s . if that is not the case, your program …
  2. math

    wai ling averaged 84 on her first three exams and 82 on her next 2 exams.what grade must she obtain on her sixth test in order to average 85 for all six exams?
  3. math

    Suppose that you are taking a course that has three exams which count for three-fifths of your grade and a final which counts for two-fifths of your grade. On your first three tests your scores on were 75, 80, and 74. To get an B in …
  4. math

    Scott had an average of 83 on his first three exams. He later scored an average of 92 on the next six exams. What is his average for all nine exams. Round to the nearest tenth if necessary.
  5. programming

    Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program …
  6. math

    Suppose that you are taking a course that has three exams which count for three-fifths of your grade and a final which counts for two-fifths of your grade. On your first three tests your scores on were 84, 72, and 96. To get an B in …
  7. JAVA PROGRAMMING

    im new to java and this is my first assignment can anyone help me solving it: compile the class final grades, based on the students’ scores obtained in the classwork, mid-term, and final exams. According to the course syllabus, the …
  8. C++programming

    Write an interactive C program that will accept each student’s name an exam grades as input, determine an average grade for each student, and then display the student’s name, the individual exam grades and the calculated average. …
  9. word problem, Im lost on how to set this up

    Joe has scored 84, 89, and 90 on his first three exams in his math class. If the standard 70,80,90 scale is used for grades and the exams are equally weighted, what must he score on the final exam, f, in order to a) Get a C average …
  10. word problem, please

    Joe has scored 84, 89, and 90 on his first three exams in his math class. If the standard 70,80,90 scale is used for grades and the exams are equally weighted, what must he score on the final exam, f, in order to a) Get a C average …

More Similar Questions