Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for thewayoftheduck

**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 …

Member Avatar for jwenting
0
3K
Member Avatar for thewayoftheduck

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 …

Member Avatar for JamesCherrill
0
699
Member Avatar for thewayoftheduck

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 …

Member Avatar for stultuske
0
262
Member Avatar for thewayoftheduck

**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: …

Member Avatar for thewayoftheduck
0
270
Member Avatar for thewayoftheduck

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 < …

Member Avatar for IIM
0
311