Need a Raptor Program and Pseudocode. Create a text based or GUI menu to perform the following functions Stopwatch which shows a start and stop time Fat calorie counter Food log Type Amount calories Exercise log per week Type Amount total Exercise Log per week/month Exit The associated code with each menu item should be in modules/procedures to perform the task selected. The fat calorie counter was the extra credit assigned during class. Directions: create your design in a then code a which generates output to the screen .  Submit a minimum of three files , RAPTOR and Outputm using the following convention filling in the blank of the type filewith the title of the option you choose. You may program the FINAL RAPTOR program in either procedural or object-oriented style. You may use the bubble sort, swap and search algorithms posted on the discussion board. It does not count against your grade if you do not get it correct. Develop a test case for the option you chose and deliver it in a spreadsheet format such as Excel or a table with rows and columns (for word) to include all inputs and outputs variable names in the header along with values.

Raptor Program and Pseudocode:
In order to create a Raptor Program and pseudocode for a text-based or GUI menu that performs the given functions, we will break down the problem into smaller tasks and design the program accordingly. Let’s start by understanding the requirements and designing the program:

1. Stopwatch:
The Stopwatch function should display a start time and a stop time. To implement this, we can create a module called “Stopwatch” which will start a timer when called and then stop the timer when called again. The module will display the start time and stop time.

Pseudocode:
“`
Module Stopwatch:
If Timer is not running:
Start the timer
Display the start time
Else:
Stop the timer
Display the stop time
End Module
“`

2. Fat Calorie Counter:
The Fat Calorie Counter function requires calculating the calories consumed from a food log. We can create a module called “Calorie Counter” that prompts the user to enter the type of food and the amount consumed. The module will then calculate the total calories and display the result.

Pseudocode:
“`
Module Calorie Counter:
Prompt for food type
Prompt for amount consumed

If food type is valid:
Calculate total calories from food log
Display the result
Else:
Display an error message
End Module
“`

3. Exercise Log Per Week:
The Exercise Log Per Week function requires keeping track of the exercise done per week. We can create a module called “Exercise Log” that prompts the user to enter the type of exercise and the amount done per week. This log can be stored in an array or a data structure. The module will then calculate the total exercise done per week and display the result.

Pseudocode:
“`
Module Exercise Log:
Prompt for exercise type
Prompt for amount done per week

If exercise type is valid:
Add exercise log to the array/structure
Calculate total exercise done per week
Display the result
Else:
Display an error message
End Module
“`

4. Exit:
The Exit function simply ends the program.

Pseudocode:
“`
Module Exit:
End Program
End Module
“`

By implementing the above pseudocode, we can create a Raptor program that consists of these modules and a menu interface for the user to select the desired option. The program should be designed in a modular and organized manner, making it easy to read and maintain.

In order to test the functionality of the program, we can create a test case by providing different inputs for each of the menu options and observing the outputs. This can be documented in a spreadsheet format or a table with rows and columns, specifying the variable names, inputs, and expected outputs.

This design and approach can be implemented in either a procedural or object-oriented style, based on your preference and programming skills. Additionally, you may use various algorithms like bubble sort, swap, and search algorithms if required, as mentioned in the instructions. Remember, the accuracy of these algorithms does not count towards your grade.

To submit your work, create a minimum of three files – the RAPTOR program file, the output file, and the test case file. Make sure to follow the specified naming convention for the files mentioned in the assignment instructions.

Overall, by following this design and coding approach, you will be able to create a functional Raptor program with an intuitive menu interface and test its different functions effectively.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer