Working program that uses the repetition control structure

Assignment Help Business Management
Reference no: EM132275423

Focus

1. While loops and For loops

2. Count-controlled loops

3. Sentinel controlled loops

Working program that uses the Repetition Control Structure including the While Loop, the For Loop, and Nested Loops

Part A: Write Something New!

Python program to solve the following problem:

You are the professor for COSC 1305 at St Edwards University. You want to create a program that will take in the numeric grades of the students in your class. Since the students in a class vary from semester to semester, there is no fixed number assigned to the number of students. You will keep track of how many students' grades you input. You will stop taking input when the student enters a grade of -1.

Your program will use loops and will accomplish the following:

1. Read in a numeric grade from a student.

2. Convert the numeric grade to a letter grade using the grade policies in your syllabus.

3. Keep a running total of the numeric grades entered.

4. Keep a count of the number of grades entered.

5. Issue a message that comments on the letter grade earned. As an example, you may write "You made an F! Obviously you did not study!"

6. At the end the program will calculate a class average unless there were no grades entered.

All input to the program will be interactive from the keyboard. The output of the program will include the individual grades converted, the message issued to the student, a class average, and the number of grades entered.

Use the IDLE programming environment if you are using Python with IDLE. Remember to use the extension .py.

Submit your file to Canvas and name the file: Lab6PartB_yourSEUusername turn the text file into Canvas for 'Lab 6'.

Run and test your program for all conditions. Once you are sure it works you will turn in the items listed in the next section.

Reference no: EM132275423

Questions Cloud

Width of the span of control and the number of levels : A potential conflict may exist between the width of the span of control and the number of levels.
Capture and paste screenshots of database : Capture and paste screenshots of your database and tables into a Microsoft PowerPoint presentation or Word document
Describe topic counselor ethics and responsibilities : Follow the directions below to write a paper of 1,750-2,100 words on counselor ethics and responsibilities. Provide a thoughtful response to each.
Any gaps in alignment of strategy for the organization : Reviewing your Strategic Plan that you have developed for your hospital, anticipate any gaps in alignment of strategy for the organization.
Working program that uses the repetition control structure : Working program that uses the Repetition Control Structure including the While Loop, the For Loop, and Nested Loops
Evaluate the relationship between congress and the president : Discuss two (2) reasons why the presidential duties may conflict with the role of Congress. Justify your response with examples.
What interventions might help chris stop hitting : Chris is a 6-year-old male who just started hitting his peers at school. His teacher discovered this behavior was learned from another student.
Production strategies is appropriate for high-cost business : Which of the following production strategies is most appropriate for a High-cost business? In general, research linking diversity and firm performance?
Thinking about the concept of strategic partnerships : This is an exercise in thinking about the concept of strategic partnerships.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd