programming

posted by Anonymous

Grades are assigned on the standard 90, 80, 70, 60 scale. You are to write an algorithm which will receive a student name and a percentage grade and display the letter grade to be awarded

  1. Steve

    printf "%d gets a %s",$score,("F"x6,qw(D C B A))[int($score-1)/10];

Respond to this Question

First Name

Your Answer

Similar Questions

  1. 8th grade

    At Smart Middle School students are required to take 7 classes each grading period. At the end of each grading period a student is assigned a final grade (A, B, C, D or F) for each class for the grading period. A student’s overall …
  2. programming

    2-5 Grade Determination is says " Write a program that will input three test scores. the program should determine and display their average. the program should then display the appropriate letter grade based on there average. the letter …
  3. c++

    Write a program that asks the user to input a grade that he or she received on an exam. The grade is an integer from 0 to 100 inclusive. The program should convert the numeric grade into the equivalent letter grade. Do the conversion …
  4. Information Technology

    Develop an algorithm, flow chart and pseudocode that accept as input three unit test scores and a project score for seven students. The algorithm, flow chart and pseudocode should accept seven examination scores. The students's overall …
  5. Java Programming

    I'm new to Java and I'm not sure how to write the source code for this problem I got in class... Write a java program using the while and if statement that will accept ten student grades and that will display the sum of the grades, …
  6. ICT (Programming)

    Design program logic that receives the letter grades for 4 subjects and then based on the grades, calculate the total grade point. The program should use IF statements to determine the grade point corresponding to the letter grade …
  7. 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. …
  8. Programming C++ using Data Structure.

    In an academic institution, Student has its records. Each student has his/her profile such as id number, student name. The institution also keeps records of student grades in each subject. Student grades contains information subject …
  9. java programming

    Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program: • calcAverage—This …
  10. Probability

    After an exam, a teacher starts checking student attempts. Based on the marks he gives, he also awards a letter grade from any of the 5 letter grades; A, B, C, D, and F. How many papers on average should he expect to check to see all …

More Similar Questions