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

  Explaining management-s decision-making process

The first step in management's decision-making process is, determine and evaluate possible courses of action.

  Segment of the general environment

To which segment of the general environment does each of the following trends belong? Which industries or companies will be largely impacted by these trends?

  What have you learned about way groups work from analysis

What have you learned about the way groups work from this analysis? What have you learned from your mistakes? How are you going to put what you have learned to use?

  Characteristic of national stock exchange

The stock market is very close to a perfect competitive market. The price of a stock usually is determined by the market forces of demand and supply of the stock and individual buyers and sellers of the stock have little effect on price (they are ..

  Compare democratic leadership style

Compare Democratic Leadership style to two other leadership styles.

  Pro-forma financial statements

Pro-Forma Financial Statements

  Staffing operations in emerging markets

Discuss the challenges involved in staffing operations in emerging markets?

  Create and manage a diversified workforce

Include the characteristics of a good quantitative purpose statement-Indicate the specific types of quantitative and qualitative data collection?

  Major pitfalls and benefits

Discuss briefly the major pitfalls and benefits you see from the Federal Reserve attempting to make changes to the economy over the next two years.

  Business management and human resourceswhich of these

business management and human resourceswhich of these theories resonates most with you and why? which of these theories

  Retaining and attracting employees

Some would argue that incentives are the key to retaining and attracting employees. It has been noted that there are various types of incentive plans.

  How does innovation and strategy work together at apple

Case study Design Thinking and Innovation at Apple by Stefan Thomke and Barbara Feinberg (2012).

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