logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Aaron BiltoftStatistics
(5/5)

859 Answers

Hire Me
expert
Harjeet KunduHistory
(5/5)

630 Answers

Hire Me
expert
joyComputer science
(4/5)

12 Answers

Hire Me
expert
Lewis BlackstockCriminology
(5/5)

656 Answers

Hire Me
Java Programming

Design a menu driven program that performs the users choice of the following functions the program exit should also be a users choice

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Module 8 - Code design and Implementation Assignment 

Once more only 1 choice to implement this module. Naming convention: Project name “surnameTask8, note only “T” in capital all else lowercase. This task must be implemented within a single file

Fibonacci or Prime number iterator: 

Design a menu driven program that performs the user’s choice of the following functions the program exit should also be a user’s choice. 

Menu Item 1: Fibonacci number iterator, here you are to define an iterator class named FibonacciIterator for iterat- ing Fibonacci numbers. The constructor takes an argument that specifies the limit of the maximum (highest numerical value double) Fibonacci number. For example, prompt the user for size, use the size to call FibonacciIterator(“user input”) creates an iterator that iterates Fibonacci numbers less than or equal to “user input”. Your program then uses this iterator to display all Fibonacci numbers less than or equal to “user input” in Descending order 5 items per line (use tab stops to separate them). 

Menu Item 2: Prime number iterator here you are to define an iterator class named PrimeIterator for iterating prime numbers. The constructor takes an argument that specifies the limit of the maximum (highest numer- ical value double) prime number. For example, prompt the user for size, use the size to call PrimeIt- erator(“user input”) creates an iterator that iterates prime numbers less than or equal to “user input”. Your program then uses this iterator to display all prime numbers less than or equal to “user input” in Descending order 5 items per line (use tab stops to separate them). 

Menu Item 3: Exit command, this should present a report of the operations requested since the program was invoked, the total time required for each, the program start and end time, I.E.: 

2 Fibonacci commands yielding 713 individual outputs requiring 0.7 + 0.6 seconds totaling 1.3 seconds. 1 Prime command yielding 27 individual outputs requiring 0.3 seconds. Program started at 21:33:00 and terminated at: 21:34:12. 

Last updated: January 10, 2019 • Typeset using: texshop by: Dr S Antoun https://csc.uis.edu/faculty/santoun/ 

Email: santoun@uis.edu 

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme