Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sum of Digits In all the integers > 1 there are only four integers that can be represented by the sum of the cubes of

image text in transcribed
Sum of Digits In all the integers > 1 there are only four integers that can be represented by the sum of the cubes of their digits. One of these numbers is 153 = I'+ 5+3'. Write a program to determine the other three. All four numbers are less than 450. Print output to a file. Starts @ 100 123 % 103 { 100 - 100 123/10 - 12 12% 10:2 1a/ ! How Far? 1% 10.1 I have determined that if I run 5 minutes, I can travel 0.820 miles the first 5 minutes. For every 5 minutes afterwards I will run 0.034 miles less. So every 5 minutes I cover less distance. Now I want to know is how far will I have run in 5 min, 10, 15, 20, 25, 30, 35, 40, 45, 50 55, 60 mins. Print out the minutes of running and the distance I have covered. Print out in a table format with headings and the answers in two columns. Print the miles covered with 3 decimal digits of accuracy (3 decimal places to the right of decimal point.) Print results to a file. Example output format: Emailed by NEXT Pos MONDAY Minutes Miles Traversed .pdf .820 Sonce pym & input file 15 1.606 2.358

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

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions