No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
**Question** You are to design and implement a GUI application that will calculate the price of a pizza, based upon the size, style of crust, and selection of toppings. The price is calculated according to the following rules: • A plain small pizza is $6, medium is $8, large is … | |
Question Presented: Write a program that computes the following summation series using the rational class: 1/2+2/3+3/4+...+98/99+99/100 You will discover that the output is incorrect because of integer overflow. Evaluate the sum using doubles, the Rational class, and the BigINteger Rational class. So far this is what I have come up … | |
I need to revise a previously written code with a class I just wrote. My Program: import java.util.Scanner; import java.util.Arrays; public class ModifiedLab7 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("How many points? "); int n = input.nextInt(); double[][] points = new double[n][2]; for(int i … | |
**I have some errors in my code and can't figure out how to get rid of them any help is wonderful.** The full code is: import java.util.Scanner; public class FindGeneSequence2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Please enter a genome for segmentaion into genes: … | |
import java.util.Scanner; import java.util.Random; public class HangmanGame2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); final String[] WordList = { "porcupine", "flamingo", "sasquatch", "poseidon", "minnie mouse", "mickey mouse", "galileo" }; String ChosenWord = WordList[(int)Math.random()*WordList.length]; StringBuffer display = new StringBuffer(ChosenWord.length()); for (int i = 0; i < … |
The End.