subject
Computers and Technology, 09.07.2019 03:30 xojade

Create a program that translates a letter grade to a numeric grade. a=4, b=3, c=2, d=1, f=0 the user may enter a+ or a- following the grade. "+" increases the numeric value by 0.3, while "-" decreases the numeric value of the grade by 0.3. (note: there is no f+ or f-, however a+ has value of 4.0) ask the user for a letter grade enter a letter grade : start by creating the logic to assign the correct numeric grade values to the grades (without having a + or a -) and test that the output value is as expected. (note: your program must accepts both upper case and lower case input ! ) do not hard code the test conditions like "a+", "a-"….."d-", "f" , but rather use string operation and add the extra logic to address "+" or "-" behind a the output of the program shall be the numeric value is x. x where x. x is the result.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:20
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
question
Computers and Technology, 22.06.2019 21:50
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 03:10
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e.g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
You know the right answer?
Create a program that translates a letter grade to a numeric grade. a=4, b=3, c=2, d=1, f=0 the user...
Questions
question
Mathematics, 12.04.2021 23:20
question
Mathematics, 12.04.2021 23:20
question
Mathematics, 12.04.2021 23:20
question
Mathematics, 12.04.2021 23:20
Questions on the website: 13722363