Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2:22 el courses.kpu.ca Lab #6 Mar. 6, 2019 Create a new folder named Lab6-your mame. All files including the data files, and the document with

image text in transcribed
2:22 el courses.kpu.ca Lab #6 Mar. 6, 2019 Create a new folder named Lab6-your mame. All files including the data files, and the document with program documentation created for this lab will be saved in this folder. Zip the folder and submit to Moodle. Correctly complete each of the programs described below by following the same instructions and requirements given for the previous lab. Each p before the program ends. 1. Refer to Program 5-21 1 given on pages 282-283 and Figure 5- 24 of the textbook. The program should also have the statement to display your name. Note the Sales.tst file created and its contents. Note also the prompts displayed on the screen as well as the input entered. Obtain the screenshots and document. 2. Refer to Program 5-2 2 given on pages 284-283 and Figure 5 25 of the textbook. Use Notepad to create a file named ListONumbers.txt. The from this input file. Modify the given program so that it will program will read the numbers Obtain screenshots of the contents of input and output files, show the test runs, and document Show the contents of the data files. 3. Refer to the example program given on pages 336-338 Note the algorithm design, the hierarchy chart, the use of functions, and the comments in the program. Note the program style and comments. Design and write a program similar to the one given in the textbook to convert from miles to kilometers. Functions will be used, and comments will be included in the functions will be well documented. The output will be well formatted program. The 2:22 el courses.kpu.ca Lab #6 Mar. 6, 2019 Create a new folder named Lab6-your mame. All files including the data files, and the document with program documentation created for this lab will be saved in this folder. Zip the folder and submit to Moodle. Correctly complete each of the programs described below by following the same instructions and requirements given for the previous lab. Each p before the program ends. 1. Refer to Program 5-21 1 given on pages 282-283 and Figure 5- 24 of the textbook. The program should also have the statement to display your name. Note the Sales.tst file created and its contents. Note also the prompts displayed on the screen as well as the input entered. Obtain the screenshots and document. 2. Refer to Program 5-2 2 given on pages 284-283 and Figure 5 25 of the textbook. Use Notepad to create a file named ListONumbers.txt. The from this input file. Modify the given program so that it will program will read the numbers Obtain screenshots of the contents of input and output files, show the test runs, and document Show the contents of the data files. 3. Refer to the example program given on pages 336-338 Note the algorithm design, the hierarchy chart, the use of functions, and the comments in the program. Note the program style and comments. Design and write a program similar to the one given in the textbook to convert from miles to kilometers. Functions will be used, and comments will be included in the functions will be well documented. The output will be well formatted program. The

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions