Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment: 1. Create a Raptor program that allows the user to enter a number. Compute the cube of each number from 1 to the entered

image text in transcribed
Assignment: 1. Create a Raptor program that allows the user to enter a number. Compute the cube of each number from 1 to the entered number. In a loop, the program should compute the cube of each number and the sum of the cube of each number. Output should be the sum of the cubes, For example if the user enters 3, the computer would sum 1 X 1 X1+ 2 X 2X 2 + 3 X3 X 3 in the loop. The output would be 36. Save your file using the naming format LASTNAME_FIRSTNAME_MO5- 1. Turn in your file by clicking on the Start Here button in the upper right corner of your screen. 2. Create a second Raptor program that allows the user to continuously enter numbers until the user enters O Output the sum of the numbers. Save your file using the naming format of LASTNAME_FIRSTNAME_MO5- 2. Turn in your file by clicking on the Start Here button in the upper right corner of your screen. Documentation is very important for this course and in the field. For all Raptor and all programs, an expectation is that comments will be incorporated into all assignments. For this assignment only the header comments will be required. Both header comments and step comments are encouraged as it will help for logic to be better, Header comments should include the following: . Name of the Raptor program . Author of the Raptor program . Version of the Raptor program and the date of its last revision . Summary/goal of the Raptor program . Variables used with a short description of the variable, as well as the format of the data (e.g. datatype)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

Students also viewed these Programming questions

Question

How can you improve waste management?

Answered: 1 week ago

Question

Define Marketing research.

Answered: 1 week ago

Question

1. What is blood circulation? 2. Three types of blood vessels?

Answered: 1 week ago

Question

Why are red blood cells Red in colour?

Answered: 1 week ago