Need a Raptor Program and Pseudocode. Create a text based or GUI menu to perform the following functions 1. Stopwatch which shows a start and stop time 2. Fat calorie counter 3. Food log a. Type b. Amount c. calories 4. Exercise log per week a. Type b. Amount c. total 5. Exercise Log per week/month 6. 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 and then code a which generates output to the screen .  Submit a minimum of three files pseudocode, 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.

Design and Implementation of a Text-based or GUI Menu using Raptor Program and Pseudocode

1. Introduction
In this assignment, we are required to design and implement a text-based or GUI menu using the Raptor programming language. The menu should provide various functions such as a stopwatch, fat calorie counter, food log, exercise log per week, exercise log per week/month, and an exit option. Each function should be implemented as a separate module/procedure, and the associated code should be written accordingly.

2. Design
To design the menu, we can use a simple loop and switch statement structure. The main menu will be displayed initially, and the user can choose an option by entering a corresponding number.

The pseudocode for the design is as follows:

“`
Display main menu
Repeat until exit option is chosen:
Input choice from the user
Switch on choice:
Case 1: Start stopwatch
Case 2: Calculate fat calories
Case 3: Enter food log
Case 4: Enter exercise log per week
Case 5: Enter exercise log per week/month
Case 6: Exit program
Default: Display “Invalid option” message
End switch statement
End loop
“`

3. Implementation
To implement the menu in Raptor, we will create separate modules/procedures for each functionality. Here is an example implementation for the stopwatch module:

“`
Module Stopwatch
Declare startTime, stopTime, elapsedTime as variables

Display “Stopwatch”
Display “1. Start”
Display “2. Stop”

Input choice from the user

If choice is equal to 1:
startTime = GetCurrentTime()
Display “Stopwatch started”
Else if choice is equal to 2:
stopTime = GetCurrentTime()
elapsedTime = stopTime – startTime
Display “Stopwatch stopped”
Display “Elapsed time: ” + elapsedTime
Else:
Display “Invalid choice”
End if
End Module
“`

Similarly, other modules/procedures can be implemented for the remaining functionalities, such as the fat calorie counter, food log, and exercise log. The implementation will vary for each module depending on the specific requirements of each function.

4. Conclusion
In this assignment, we have designed and implemented a text-based or GUI menu using the Raptor programming language. Each functionality is implemented as a separate module/procedure, and the associated code is written accordingly. The menu provides options for a stopwatch, fat calorie counter, food log, exercise log per week, exercise log per week/month, and an exit option. The design and implementation of each module/procedure can be further improved based on specific requirements and desired user experience.

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