Average Steps Taken
A Personal Fitness Tracker is a wearable device that tracks your physical activity, calories burned, heart rate, sleeping patterns, and so on. One common physical activity that most of these devices track is the number of steps you take each day.
If you have downloaded this book’s source code from the Computer Science Portal, you will find a file named steps.txt in the Chapter 06 folder. (The Computer Science Portal can be found at www.pearsonhlghered.com/gaddls.) The steps.txt file contains the number of steps a person has taken each day for a year. There are 365 lines in the file, and each line contains the number of steps taken during a day. (The first line is the number of steps taken on January 1st, the second line is the number of steps taken on January 2nd, and so forth.) Write a program that reads the file, then displays the average number of steps taken for each month (The data is from a year that was not a leap year, so February has 28 days.)
Trending nowThis is a popular solution!
Learn your wayIncludes step-by-step video
Chapter 6 Solutions
Starting Out with Python (4th Edition)
Additional Engineering Textbook Solutions
Starting Out with C++: Early Objects (9th Edition)
Modern Database Management
Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
SURVEY OF OPERATING SYSTEMS
Management Information Systems: Managing The Digital Firm (16th Edition)
Introduction To Programming Using Visual Basic (11th Edition)
- Background: Individuals will frequently put their extra cash into savings account that grow over time due to interest paid by the bank. One form of this is known as compounding interest, where interest is earned on both the initial deposit, and on any interest previously earned. You are to create an app that can calculate and show someone how much then earn if they choose to save. Instructions: 1. Create a Python file A01_R06_CUSN_monthlyBalance.py that shows customers how their deposits grow over time (in units of months). The program should: 1.1. Read the initial balance and the annual interest rate. The interest rate should then be increased by the last digit of your student number (e.g. if your student number is 100123456 and the user inputs 2%, then the interest used for calculations would be 2% + 6% to be 8%) 1.2. Calculate interest that is compounded monthly. 1.3. Print the monthly balance for the entered number of months. The output of your code should resemble the following:…arrow_forwardHelp me answer thankssarrow_forwardAs a result, users may choose to utilise the command line instead of the GUI to input data.arrow_forward
- USING JAVASCRIPT USE ENCAPSULATION Create a account information feature for a banking system wherein the user can edit and save the information. ACCOUNT INFORMATION BANK NAME ACCOUNT NAME ACCOUNT NUMBER PASSWORD CLOSE ACCOUNT (DELETE)arrow_forwardPlease create a random quote generator Java GUI. Please attach all code snippets Your Java GUI should include: ● A text window to show the random quote ● Randomize button to generate quote ● Authorbutton to show who said the quote ● Exit button to exit the programarrow_forwardUsers may input data through the command line instead of the GUI.arrow_forward
- GUI using tkinker (Python) - Challenge Activity 1: Student Information Display ToolWrite a Python program (GUI App) that requests the following information from user and displays it: ∙ Student name∙ Student address, with suburb, state, and post code∙ Student telephone number ∙ Student Coursearrow_forwardCreate a simple interactive system that will solve a simple task/problem in your own household. Full documentation must be submitted in pdf file. Follow the list below for the contents of your documentation. In case you do not have an app to draw your system, handwritten output will do as long as it is clearly and neatly drawn. A) Name of your Interactive System B) Picture/Image of your Interactive System - Identify each part of your system and its usage C) Complete the Table · Read the definition of these components in our previous module to be able to fill-up the table properly Lexical Syntactic Semantic D) Answer the question, "Why is your Interactive System Important in your Household?"arrow_forwardmobile programing,android studio,javaarrow_forward
- Users may choose to submit data through the command line rather than via the GUI as a result of thisarrow_forwardPlease create a random quote generator Java GUI. It should include: 1. A button to perform randomizing function 2. A text area to display the quote.arrow_forwardBecause of this, users may choose to enter data through the command line rather than the GUI.arrow_forward
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage