Purchase Solution

Programming Languages: Java Application

Not what you're looking for?

Ask Custom Question

One interesting application of computers is to display graphs and bar charts. I need help with writing an application that reads five numbers between 1 and 30. For each number that is read, your program should display the same number of adjacent asterisks. For example, if your program reads the number 7, it should display *******.

Make sure that the the code is readable

I need to know what code was used to construct this application.

Purchase this Solution

Solution Summary

This solution helps with a problems involving Java applications.

Solution Preview

Hello Student,
I have attached the completed solution.

import java.util.*;

class samp
{

public static void main(String args[])
{

Scanner s = new ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C# variables and classes

This quiz contains questions about C# classes and variables.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.