Question
4 Programs (Use the main function on all these and (follow Murach's programming guide chapters 8 -12) Code needs to be extremely BASIC ALL EXTRA
4 Programs (Use the main function on all these and (follow Murach's programming guide chapters 8 -12) Code needs to be extremely BASIC
ALL EXTRA FILES CAN BE FOUND HERE https://drive.google.com/drive/folders/1_sJ92hLALnDEd6oJIB6pNN_oGEqWk6wg?usp=sharing
Program 1B Unique Words Write program that opens a specified text file and then displays a list of all the unique words found in the file, in Alphabetical order (Practice input file: UniqueWords.txt) This file is located in the google driver link at the top.
Program 2A Date Printer Write program that reads a string from the user containing a date in the form mm/dd/yyyy. It should print the date in the format March 12, 2018.
Program 3A Credit Plan The credit plan at Computers-R-Us Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment. Write program that takes the purchase price as input. The program should display a table (this can be lined up columns), with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items: The month number (beginning with 1) the current total balance owed the interest owed for that month the amount of principal owed for that month the payment for that month the balance remaining after payment The amount of interest for a month is equal to balance * rate / 12. The amount of principal for a month is equal to the monthly payment minus the interest owed.
Program 4A Capital Quiz Write program that creates a dictionary containing the U.S. states as keys, and their capitals as values. The program should then randomly quiz the user (you may limit the number of random quizzes to 5) by displaying the name of a state and asking the user to enter that state's capital. The program should keep a count of the number of correct and incorrect responses. StatesCapitals.txt is a text file with states, abbreviations, and their capitals (FOUND IN THE GOOGLE DRIVE FOLDER LINK IS AT THE TOP)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started