![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 14.03.2020 04:45 kayranicole1
To encourage good grades, Hermosa High School has decided to award each student a bookstore credit that is 10 times the student’s grade point average. In other words, a student with a 3.2 grade point average receives a $32 credit. Create a class that prompts a student for a name and grade point average, and then passes the values to a method that displays a descriptive message. The message uses the student’s name, echoes the grade point average, and computes and displays the credit. Save the application as BookstoreCredit. java.
Must use the following code and variables:
import java. util. Scanner; //import statement allow use of Scanner class
public class BookstoreCredit
{
public static void main(String[] args)
{
//Add variables (student name, student gap and bookstore credit)
String studentName;
double studentGpa; //double declaration for student gpa (hold numbers)pg.71-72
double bookstoreCredit; //double declaration for bookstore credit (hold numbers)pg.71-72
//insert a Scanner class object declaration - pg.84 You Do It #4
//add missing scanner class here
//Add prompt for the integer value and an input statement that accepts the value pg.80
//add missing statement here
studentName = input. nextLine(); //retrieves the next line of data and returns it as a String pg.79
//Add prompt for the integer value and an input statement that accepts the value pg.80
//add missing statement here
studentGpa = input. nextDouble(); //retrieves input as a double pg.79
//bookstore credit is 10 times the student gpa
bookstoreCredit = studentGpa * 10;
//Output statement displays student’s name, echoes the grade point average, and computes and displays the credit pg.80
System. out. println(studentName + ", with a " + studentGpa + " GPA you receive a $" + bookstoreCredit + "credit!");
}
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
You know the right answer?
To encourage good grades, Hermosa High School has decided to award each student a bookstore credit t...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 16.02.2021 17:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.02.2021 17:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.02.2021 17:10
![question](/tpl/images/cats/mat.png)
Mathematics, 16.02.2021 17:10
![question](/tpl/images/cats/mat.png)
Mathematics, 16.02.2021 17:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.02.2021 17:10
![question](/tpl/images/cats/biologiya.png)
Biology, 16.02.2021 17:10
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.02.2021 17:10
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 16.02.2021 17:10