Question

Need help completing these three programs using Raptor. Any help is appreciated.

What to Submit: Complete the following three programs in Raptor and submit the three .rap files

Program 1 Budget Analysis (50 points): Design a program that asks user enter the amount he/she has budgeted for a month. And then use a loop to prompt the user enter each of his/her expenses for the month, and keep a running total. When the loop ends, the program should display budgeted amount, total expenses amount, and if the user is over or under budget.

Program 2 Salary Raise (50 points): Congratulations on your new job! Your boss even promised that you will get least 2% annual salary raise starting from the second year. Create a program using Raptor that allows user enter current salary, annual raise rate, and years the user plan to work, and then calculate and display proposed salary for each year and total salary for those years. (50 points) See below for the sample input/output:

Enter Salary Offered: 50000
Enter Annual Raise Rate: 0.03
Years Planned to Work: 5

Salary in 5 Years  
Year         Salary
1 $50000
2 $51500
3                $53045
4 $54636.35
5 $56272.44
Total:       $265456.79

Program 3 Grade Analysis (50 points) : Design a program with a loop that lets user enter all students' test scores. Make sure all scores user entered are in the range of 0 to 100. The user should enter -1 to signal the end of the scores. After all scores have been entered, the program should display number of scores entered, average score, highest score, and lowest score.

Raptor _ Х File Edit Scale View Run Mode Ink Window Generate Help 80 Symbols main Assignment Start Call End Input Output Sele

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Program 1 (Budget Analysis):

All three program files can be downloaded from the drive link https://drive.google.com/drive/folders/1Vl9b_XI8HWEpDd1T6ZaBAeGi0mYKLm70?usp=sharing

Raptor - new.rap File Edit Scale View Run Mode Ink Window Generate Help 125% Symbols main Assignment Start Call Enter the buAssignment totalExpenses - totalExpenses + Expense Call Input Output Enter the Expense (if no expense enter -1) GET Expense

Sample Input and Output :

Enter the budgeted Amount for the Month 50

Enter the Expense (if no expense enter -1) 20

Enter the Expense (if no expense enter -1) 10

Enter the Expense (if no expense enter -1) 30

Output:- Budgeted Amount : 50 Total Expenses : 60 the user is OVER BUDGET.

Program 2 (Salary Raise) :

Assignment Yes i>years Call No Input Output PUTI $ + salary Selection Loop Salary — Salary + salary 6 -rate: 0.03000 salary

Sample Input / output :

Enter Salary Offered: 50000
Enter Annual Raise Rate: 0.03
Years Planned to Work: 5

Salary in 5 Years  
Year         Salary
1             $50000
2             $51500
3             $53045
4             $54636.3500
5             $56272.4405
Total:       $265456.7905

Program 3 (Grade Analysis):

Raptor - p3.rap File Edit Scale View Run Mode Ink Window Generate Help X II 125% Symbols main Assignment Start Call Count = 0

No Assignment Yes. Score >= 0 and Score C=100 No Call Input Output Selection Count Count + 1 PUT WORNG ENTRYS Loop Yes High

Enter Test Score (Enter - 1 if end of Score): GET Score PUT No. of Scores : + Count + Average Score : + Total/Count +

Sample Input and Output :

Enter Test Score (Enter -1 if end of Score) : 50

Enter Test Score (Enter -1 if end of Score) : 60

Enter Test Score (Enter -1 if end of Score) : 40

Enter Test Score (Enter -1 if end of Score) : 20

Enter Test Score (Enter -1 if end of Score) : 70

Enter Test Score (Enter -1 if end of Score) : 30

Output : No. of Scores : 6 Average Score : 45 Highest Score : 70 Lowest Score : 20

Add a comment
Know the answer?
Add Answer to:
Need help completing these three programs using Raptor. Any help is appreciated. What to Submit: Complete...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need help completing the following 2 programs using PyCharm. Any help is appreciated. Language is Python....

    Need help completing the following 2 programs using PyCharm. Any help is appreciated. Language is Python. Task: Complete the two programs in Python and submit the source code here for grading. Program 1:  Sort Three Numbers(50 points): Design a program that asks user to enter any three integer numbers. The program should display the three numbers in descending order. Program 2: WiFi Diagnostic Tree(50 points): Download the attached file, follow the instruction, and complete and submit the code here for grading....

  • //Done in C please! //Any help appreciated! Write two programs to write and read from file...

    //Done in C please! //Any help appreciated! Write two programs to write and read from file the age and first and last names of people. The programs should work as follows: 1. The first program reads strings containing first and last names and saves them in a text file (this should be done with the fprintf function). The program should take the name of the file as a command line argument. The loop ends when the user enters 0, the...

  • need the raptor flowchart with extra credit part made with procedures/ parameters. will give thumbs up...

    need the raptor flowchart with extra credit part made with procedures/ parameters. will give thumbs up Quiz Statistics For this assignment, you will write a program that requests the quiz scores for 6 students Identified by ID numbers. The program computes the average score and determines the ID number of the student with the highest score. Not an input, should be in The ID numbers for the students in this class are: 1234 2333 4432 3323 2143 3425 (program This...

  • In Python. Complete the following programs. Begin each program with a comment that includes: • Your...

    In Python. Complete the following programs. Begin each program with a comment that includes: • Your name • The project/program • Brief description of the problem Lab3Pro1 A supervisor in a manufacturing company wishes to display the bonus amount for an employee based on this year's production. Input Output Processing Distribute bonuses as follows: Display the results as follows: Prompt for user input "Enter number of Units produced" Store the amount entered Bonus This year's production bonus will be $nnnnn...

  • i need help writing these programs in c++ format 1. Enter two integer arrays: array1-129, 0,...

    i need help writing these programs in c++ format 1. Enter two integer arrays: array1-129, 0, -56, 4, -7 and array2-19, 12, -36, -2, 12 3. Write the code to form and display another array array3 in which each element is the sum of numbers in the position in both arrays. Use pointers and functions: get array0. process arrays0 and show array0 (50 points) 2. Enter a positive 5-digit integer via the keyboard. Display each digit and fol- lowed by...

  • Write a program that first asks the user how many budget items they have. Then using...

    Write a program that first asks the user how many budget items they have. Then using dynamic arrays, create the appropriate arrays to hold the following data: Allow the user to enter the budget items and amount budgeted for the number items created in the dynamic array. (For your testing, just use four or five.) Once all budget items are entered, the program should then output each budget item, the amount of money budgeted for that item, and the percentage...

  • I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For...

    I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For Loop) Logic Technical College has a current tuition of $10,000 per year. Tuition is scheduled to increase by 5% each year. Using a FOR loop, design a program that calculates and displays the tuition each year for the next ten years, like so: The tuition for year 1 will be: 10500.00 The tuition for year 2 will be: 11025.00 ……….. (You, of course will...

  • ELEC 1520 Homework - Integer Operations, Selection Statements Instructions Write C++ programs to solve the following...

    ELEC 1520 Homework - Integer Operations, Selection Statements Instructions Write C++ programs to solve the following two problems. Upload your source code files to Canvas. The file names must be of the form coins_your_name.cpp and bonus_your_name.cpp for problems 1 and 2, respectively. Substitute your first and last name for "your_name" in the file name. Problem Statements 1. Given a value V in cents, you need to make change using a minimum number of coins. Assume you have an infinite supply...

  • This is a standard C++ programming assignment using a command line g++ compiler or the embedded...

    This is a standard C++ programming assignment using a command line g++ compiler or the embedded one in zyBooks. No GUI forms and no Visual Studio. No external files and no databases are used. There is only one object-oriented program to complete in this assignment. All code should be saved in a file named ExamScoresUpdate.cpp, which is the only file to submit for grading. No .h files used. The .cpp file contains main() and two classes, ExamScores and DataCollector. There...

  • ANY HELP PLEASE. PLEASE READ THE WHOLE INSTRUCTION THANK YOU Write a program GS.java that will...

    ANY HELP PLEASE. PLEASE READ THE WHOLE INSTRUCTION THANK YOU Write a program GS.java that will be responsible for reading in the names and grades for a group of students, then reporting some statistics about those grades. The statistics to be gathered are the number of scores entered, the highest score and the name(s) of the student(s) who earned that score, the lowest score and the name(s) of the student(s) who earned that score, and the average score for the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT