1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bess [88]
4 years ago
6

The program is to be answered in Java Programming not C++ Please answer the following: Modify the BarChart program to accept the

number of points scored by each player in a season. The bar chart displays one asterisk for each 10 points scored by a player. For example, if a player has scored 48 points, then display four asterisks.
Computers and Technology
1 answer:
Solnce55 [7]4 years ago
6 0

Answer:

import java.util.Scanner;

public class BarChart {

public static void main(String[] args) {

Scanner sc=new Scanner(System.in);

//take input from user

System.out.println("Enter Score");

int score=sc.nextInt();

int count=score/10;

int i=1;

//print horizontal bar

//if you want to print vertical bar then simply change into print which is replace by println

while(i<=count)

{

System.out.print("*");

i++;

}

}

}

Explanation:

You might be interested in
Which of these is most closely associated with system control? (1 point) (Points : 1.5) boundary
Mademuasel [1]

Answer:C) Feedback

Explanation: System control is the controlling and managing activity of the system by commands ,regulations, management practices etc.It helps in the analyzation of the system and improving the ability of performing the tasks.Feedback is the component of the control system that is obtained as the output after the controlling  technique is applied in the system.

Other options are incorrect because environment is the surrounding of the system ,interface is the connection between the components of the system and boundary is not a technical term of control system.Thus, the correct option is option(C).

3 0
3 years ago
If you were looking for a record in a very large database and you knew the ID number, which of the following would be the most d
dezoksy [38]

Answer:

By the record ID

Explanation:

5 0
4 years ago
DECIPHER AND SOLVE THIS<br><br> SCC:R<br> D<br> YJOTE VP=GPIMFRT
blagie [28]
Um.... alrighty then
6 0
3 years ago
Megan owns a small neighborhood coffee shop, and she has fifteen employees who work as baristas. All of the employees have the s
nlexa [21]

Answer:

she gives 10 dollars an hour

Explanation:

no

4 0
2 years ago
During slideshow mode hitting the b key will do which of these
Lemur [1.5K]
<span>If it's an multiple answer question it's....


</span><span>B.) Blank the screen with black screen (or return to the slide if you are currently blank).</span>
8 0
3 years ago
Other questions:
  • The Sumif formula will add numbers together from a range of numbers ONLY IF they contain the criteria. True or false
    8·1 answer
  • Peripherals can be used to output information.<br> True<br> False
    9·2 answers
  • What feature new to Windows Server 2012 provides the ability to find identical sets of data on a SAN based storage array and red
    14·1 answer
  • Help !!!!!
    9·1 answer
  • Settings to control the amount of notifications is a
    10·2 answers
  • The Internet acts as a(n) blank services such as The World Wide Web and email
    6·2 answers
  • The ____ developed numerical methods for generating square roots, multiplication tables, and trigonometric tables used by early
    12·1 answer
  • Which option is referred to by the Reports Due tag?
    7·1 answer
  • Which componet is the smallest unit in a spreadsheet
    15·1 answer
  • Question<br> 1. Who was the first to use an abacus
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!