i need some help writing three programs i dont now where to start here are mt three problilms Lab 8a. Fundamental Algorithms explored
Description
Write a program that will input a dataset of numbers that is followed by the sentinel -999. The program should calculate the sum of the numbers in the dataset, the count of the numbers in the dataset, and the smallest number in the dataset. The program should perform the above described processing using a single while loop – when you fall out of the while loop, each value that is calculated should be printed in a cosmetically pleasing fashion (so that the answers look good).
Lab 8b. Fundamental Algorithms explored w/Strings
Description
Write a program that will input a dataset of words that is followed by the sentinel ENDWORD. The program should count how many times that the word and appears in the dataset. The program should perform the above described processing using a single while loop – when you fall out of the while loop, each value that is calculated should be printed in a cosmetically pleasing fashion.
Lab 8c. Fundamental Algorithms explored w/Counting Loop
Description
Write a program that will input a dataset of numbers. For this problem, the dataset is not followed by a sentinel. The program should input the count of items in the dataset. The program should then set up a counting loop (use a for loop) and proceed to input the dataset, to calculate the sum of the numbers in the dataset, the count of the numbers in the dataset, and the smallest number in the dataset. The program should perform the above described processing using a single for loop – when you fall out of the for loop, each value that is calculated should be printed in a cosmetically pleasing fashion (so that the answers look good).
Please do the following:
1. Complete a brief pseudo-code solution for each problem to be submitted with the java source code
2. Construct a corresponding Java program for each problem which solves the problem
writing java programsI NEED SOME HELP
Page 1 of 1
1 Replies - 1940 Views - Last Post: 05 October 2005 - 05:36 AM
Replies To: writing java programs
#2
Re: writing java programs
Posted 05 October 2005 - 05:36 AM
Well, it is asking you to describe in pseudocode (wording) how your prgram will function, and then to wrote the program. We'd be happy to guide you in the right direction, but we like to see that you have attempted them for yourself as well.
Please post what you have done so far, and we'll ensure you're on the right track.
Please post what you have done so far, and we'll ensure you're on the right track.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|