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
Lian's dad uses an interactive machine that allows him
klemol [59]

Answer:

introduction to robotics

Explanation:

just took the test

4 0
3 years ago
Read 2 more answers
10 to the 8th power divided by 10 to the -4th power
sammy [17]
The answer is 10 to the twelfth power.

8 0
3 years ago
File " ", line 1
lilavasa [31]

Answer:

i = 1

while i < 11:

 print("The Indian High School")

 i += 1

3 0
3 years ago
How can you add contrast between text and headlines in a document? increase the font size of the headline make the headline long
Pavlova-9 [17]
Increase the font size and make the headline bold
8 0
3 years ago
To explain acceptable computer use to their employees, students, or other users, many organizations and educational institutions
docker41 [41]

Answer:

Codes of conduct

Explanation:

Codes of conduct are a set of rules or norms established by an organization for all employees, students or users, to ensure individual responsibilities and proper practices. The code of conduct can cover overall behaviour of individuals in an organization, but a specific code of conduct can be developed for proper computer use in order to establish what is appropriate and available to use in the organization´s computers, and also to restrict or avoid non related content.

7 0
3 years ago
Read 2 more answers
Other questions:
  • In Python, what kind of error is returned by the following code? (e.g. NameError, ValueError, IOError, etc.) def my_func(n1, n2)
    8·1 answer
  • Let's write a simple markdown parser function that will take in a single line of markdown and be translated into the appropriate
    10·1 answer
  • Information security is defined as practice of preventing unauthorized access, use, disclosure, disruption, modification, or ___
    6·1 answer
  • Please explain in simple words. What does a root do to your tablet? And how do you do it? Is it worth doing it if you only play
    13·1 answer
  • " Which technique for representing numeric data uses the mantissa to hold the significant digits of a value?"
    7·1 answer
  • Many people keep time using a 24 hour clock (11 is 11am and 23 is 11pm, 0 is midnight). If it is currently 13 and you set your a
    10·1 answer
  • What device is used to transmit what is effectively a type of Morse code between stations?
    11·1 answer
  • Write a function that accepts an int array and the array’s size as arguments. 1. The function should create a new array that is
    12·1 answer
  • Which of the following is an example of metadata about a webpage?
    7·2 answers
  • 4.1 code practice python
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!