Write all lines of your pseudocode

Assignment Help C/C++ Programming
Reference no: EM131290978 , Length:

- Write all lines of your pseudocode as comments immediately after your name and SPC ID# comment.

- Add more comments as needed in each program to explain what your code is doing.

- Choose descriptive variable names in all programs.

1. Write a program named program61.py that enables the user to enter any number of course names and percent grades and write them to a file named grades.txt. Pressing Enter when prompted for a course name should end user input and print "File was created and closed" See sample run below in which 4 course names were entered, but note that more or fewer courses could have been entered.

SAMPLE RUN
Enter course or Enter to quit math
Enter percent achieved 88
Enter course or Enter to quit comm
Enter percent achieved 93
Enter course or Enter to quit chem
Enter percent achieved 80
Enter course or Enter to quit ethics
Enter percent achieved 96
Enter course or Enter to quit
File was created and closed

2. Write another program named program62.py that reads grades.txt. The program should output all of the course names and scores on file, one course per line as shown below. The overall average score should be calculated and displayed accurate to two decimal places.

SAMPLE RUN
Here are your grades
math score is 88
comm score is 93
chem score is 80
ethics score is 96
Average grade score is 89.25

Verified Expert

The solution has two programs in python which are read the course and grade values from the user and write it into grades.txt file and second program is read the grades.txt file and calculate average of grades then print the course , grade and average values from file grades.txt. The output screen shots in output.docx

Reference no: EM131290978

Questions Cloud

Relationship between sample sizes and sampling error : Why do many research studies place heavy emphasis on correctly defining a target population rather than a total population?
Impacted abortion in the united states : Discuss two legal cases that have impacted abortion in the United States. Describe the specific ethical issue that was impacted by the outcome of the case.
Determine the intrinsic value of the call : Use the following data from January 31 of a particular year for a group of March 480 options on futures contracts to answer parts a through g.
How would you operationalize the independent variable : How would you operationalize the independent variable?- What dependent variables do you think might be important in this experiment?
Write all lines of your pseudocode : Write a program named program61.py that enables the user to enter any number of course names and percent grades and write them to a file named grades.txt.
Advantages and disadvantages of wireless surveys : Go to Kinesis Research and view the short wireless survey demonstration video. What are the advantages and disadvantages of wireless surveys?
Role of culture when motivating employees : 1. Consider the role of culture when motivating employees. Describe some differences that can gain employee trust in at least three countries. Each country should be located on a different continent.
Locate information about the gallup world poll : What impact, if any, will advances in technology have on survey research practices? Support your thoughts.- Locate information about the Gallup World Poll.
Why do so many cultures have divinities in similar roles : Complete the Divine Roles Across Cultures.Why do so many cultures have divinities in similar roles.Write an eassy about the given topic.

Reviews

len1290978

11/26/2016 1:17:40 AM

Please let me know when you can return it the answer Add more comments as needed in each program to explain what your code is doing - Choose descriptive variable names in all programs.

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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