Placeholder

CSIS 212 Programming Assignment 3 Bar Chart Printing Program

$19.00

Description

Exercise 4.12: Write an application that calculates the product of the odd integers from 1 to 15.
Exercise 4.16 JHTP (Bar Chart Printing Program): One interesting application of computers is to display graphs and bar charts. Write an application that reads 5 numbers between 1 and 30. For each number that reads, your program will display the same number of adjacent asterisks. For example, if your program reads the number 7, it will display *******. Display the bars of asterisk after you read all 5 numbers.
SCREENSHOTS
SOLUTION
PAYMENT
CSIS212 Assignment 3 Report
CSIS212 Assignment 3 Screenshot
CSIS212 Assignment 3 Screenshot
The solution consists of:
A report word document for this assignment
All Java programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CSIS212_Assignment_3.zip (223.38 KB)
CSIS212-Assignment-3-Report-Screenshot.png
CSIS212-Assignment-3-Screenshot-1.png
CSIS212-Assignment-3-Screenshot-2.png
CSIS_212_Assignment_3_Report.docx
Source Code
Exercise412.java
Exercise416.java
Preview Exercise412.java
xxxxxx xxxxx xxxxxxxx412 {
xxxxxx xxxxxx xxxx xxxx(xxxxxx[] xxxx) {
int product = 1; for (int i = 1; i <= 15; i++) if (i % 2 == 1) { product *= i; } System.out.println("Product of the odd integers from 1 to 15 is: " + product); } } } Preview Exercise416.java xxxxxx xxxx.xxxx.xxxxxxx; xxxxxx xxxxx xxxxxxxx416 { public static void main(String[] args) { String[] label = {"first", "second", "third", "4'th", "5'th"}; Scanner scan = new Scanner(System.in); System.out.println("Enter 5 number between 1 and 30"); int[] number = new int[5]; for (int i = 0; i < 5; i++) { System.out.print("Enter number " + label[i] + ": "); xxxxxx[x] = xxxx.xxxxxxx(); } xxx (xxx x = 0; x < 5; x++) { xxx (xxx x = 0; x < xxxxxx[x]; x++) { xxxxxx.xxx.xxxxx("*"); } List Price: $19 You May Also Like: CSIS 212 Programming Assignment 1 Create Five Programs CSIS 212 Programming Assignment 2 Salary Calculator CSIS 212 Programming Assignment 4 Multiples Circle Area Computer-Assisted Instruction CSIS 212 Programming Assignment 5 Variable-Length Argument List Dice Rolling CSIS 212 Programming Assignment 6 Date Class CSIS 212 Programming Assignment 7 Rectangle Class CSIS 212 Programming Assignment 8 Payroll Modification

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.