Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

LABOS Use of formatting and input/output files Modify your Labor for Labod_sol.990) so that askes the user to enter his/er first name and last name

image text in transcribed

image text in transcribed
LABOS Use of formatting and input/output files Modify your Labor for Labod_sol.990) so that askes the user to enter his/er first name and last name via keyboard entry . ask user to enter the following values Start temp. In Stop temp. in C Temp. Increment in . allocate a matrix (with appropriate site) as the convenion table. assigns the element of the matrix, column by column www. .creates a text file following the user first name and last names writes on the created file the following information 1. A description of the table such as Note that in abowe inattends that der with the decimals, and held beden 2. Provide a header for the table such as 3- Prints the table. Note the should be more with two decal Noter reflect your algorithm within your cade as comments. Save your code as Lak05.190 and upload on eClass Hint Below lanesample of what should be by section. The output file of this section is attached Use of formatting and input/output files new value) Modify your Lab04.190 (or Lab04_sol.f90) so that it: - askes the user to enter his/er first name and last name via key board entry (maximum 20 characters). . ask user to enter the following values o Start temp. in C (Code should check if it is between 10 to 210. If not, askes the user to enter a new value) o Stop temp. in C Code should check if it is between 10 to 210. If not, askes the user to enter a new value) o Temp. Increment in C(Code should check if it is less than stop temp. - start temp.l.if not, askes the user to enter a allocate a matrix (with appropriate size) as the conversion table. . assigns the element of the matrix, column by column (the first column C, the second column", and the third column "K) creates a text file following the user first name and last name as: FirstName_LastName.txt writes on the created file the following information: 1- A description of the table such as: This table converts start-temp. to stop-temp. Celsius to Fahrenheit and Kelvin This table has i number of rown and number of columns Note that: in above string start-temp. and stop-temp. should be represented as a real number with two decimal digits, and i and should be represented as integer numbers. 2- Provide a header for the table such as: Centigrade Fahrenheit Kelvin 3- Prints the table. Note that the output should be represented as real numbers with two decimal digits Note: reflect your algorithm within your code as comments. Save your code as Labos.190 and upload on eClass Hint: Below is an example of what should be seen on screen by Labos.190 execution. The output file of this execution is attached LABOS Use of formatting and input/output files Modify your Labor for Labod_sol.990) so that askes the user to enter his/er first name and last name via keyboard entry . ask user to enter the following values Start temp. In Stop temp. in C Temp. Increment in . allocate a matrix (with appropriate site) as the convenion table. assigns the element of the matrix, column by column www. .creates a text file following the user first name and last names writes on the created file the following information 1. A description of the table such as Note that in abowe inattends that der with the decimals, and held beden 2. Provide a header for the table such as 3- Prints the table. Note the should be more with two decal Noter reflect your algorithm within your cade as comments. Save your code as Lak05.190 and upload on eClass Hint Below lanesample of what should be by section. The output file of this section is attached Use of formatting and input/output files new value) Modify your Lab04.190 (or Lab04_sol.f90) so that it: - askes the user to enter his/er first name and last name via key board entry (maximum 20 characters). . ask user to enter the following values o Start temp. in C (Code should check if it is between 10 to 210. If not, askes the user to enter a new value) o Stop temp. in C Code should check if it is between 10 to 210. If not, askes the user to enter a new value) o Temp. Increment in C(Code should check if it is less than stop temp. - start temp.l.if not, askes the user to enter a allocate a matrix (with appropriate size) as the conversion table. . assigns the element of the matrix, column by column (the first column C, the second column", and the third column "K) creates a text file following the user first name and last name as: FirstName_LastName.txt writes on the created file the following information: 1- A description of the table such as: This table converts start-temp. to stop-temp. Celsius to Fahrenheit and Kelvin This table has i number of rown and number of columns Note that: in above string start-temp. and stop-temp. should be represented as a real number with two decimal digits, and i and should be represented as integer numbers. 2- Provide a header for the table such as: Centigrade Fahrenheit Kelvin 3- Prints the table. Note that the output should be represented as real numbers with two decimal digits Note: reflect your algorithm within your code as comments. Save your code as Labos.190 and upload on eClass Hint: Below is an example of what should be seen on screen by Labos.190 execution. The output file of this execution is attached

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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