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
When you connect a device to your computer for the first time, Windows Media Player selects the ____ method that works best for
Igoryamba

Answer:C. sync

Explanation:

When you connect a device for the first time to your computer it will try to synchronise the device to your computer. This synchronization will help to align the Functionality of the device to that of your computer so that both can be used effectively and work efficiently.

Synchronization of devices allows for both device to work in Union ,this will help you to either use some facilities from the other Device which are not available in your computer.

7 0
3 years ago
Read 2 more answers
Combustion is an example of to energy conversion.
Marizza181 [45]
If this is a true or false question I would say true... but I dont know I’m confusion <3
7 0
3 years ago
How can people make sure they are using credit cards responsibly
Ray Of Light [21]
Set a buget based on monthly income
8 0
3 years ago
Read 2 more answers
If the following are using default subnet masks, which one(s) of the following are valid node ip addresses: (select one) a) 220.
Svetach [21]

If the following are using default subnet masks, the option that are valid node ip addresses is option b) 10.10.0.10.

<h3>What does 10. 10 0. 1 mean?</h3>

10.254 and 10.10. 0.1 is known to be a node that are said to be part of the same network.

Note that the  first address of any network is seen as the the "network ID" address of the said network. So, if you are known to be using a kind of 24 networks, one of the real available networks is one that originate from 10.0.

Therefore, If the following are using default subnet masks, the option that are valid node ip addresses is option b) 10.10.0.10.

Learn more about subnet masks from

brainly.com/question/27960959

#SPJ1

5 0
2 years ago
If you owned an online clothing company and you only had the resources to run one social media campaign, which platform would yo
nikdorinn [45]
Hi!

If I had to pick a social media platform for a clothing company's campaign I would choose Instagram due to its large following and tons of traffic, also the large number of female users, which for a clothing company is usually the target audience.

I would have originally said facebook, but due to recent policy changes that would not be my first choice.

-<span>ASIAX </span><span>  </span><span>Frequent Answerer</span>
3 0
3 years ago
Other questions:
  • Consider an SRS for a system to manage grades at a typical University:
    14·1 answer
  • What setting must be enabled to view data in Demographics and Interests Reports? Content Grouping Advertising features User perm
    13·1 answer
  • Fredrick wants to revise an employee policy. If he wants to inform all of the employees of the change, what type of document wil
    10·2 answers
  • If r is an instance of the above Person class and oddNum has been declared as a variable of type boolean, which of the following
    8·1 answer
  • Below is the prototype for a function that takes two pointers to integer variables as its parameters. The purpose of the functio
    14·1 answer
  • Write a program that reads three numbers and print the largest one step by step answer
    9·1 answer
  • What is the mest gun in pixel gun 3d imma give you brainliest
    14·2 answers
  • Object-Oriented Programming (Using Java Language)
    11·1 answer
  • True or false we can used virus not use pirated software and programs ​
    10·1 answer
  • How do we find the time complexity for this algorithm?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!