Question 8 After executing a script file, the command window appears the command: Enter the name:. To display Joel in the command window, one just simply types Joel and hits enter, the screen will show Joel. One should write in the script file: variable-input('Enter the name: ') variable-input(Enter the name:) variable-input('Enter the name: "s) O variable=input( "Enter the name:""s")

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

DO NOT COPY FROM OTHER WEBSITES

Upvote guarenteed for a correct and detailed answer. Thank you!!!

Question 8
After executing a script file, the command window appears the command: Enter the
name: . To display Joel in the command window, one just simply types Joel and hits
enter, the screen will show Joel. One should write in the script file:
variable-input('Enter the name: ')
variable=input(Enter the name:)
O variable-input('Enter the name: "s')
O variable=input( "Enter the name:""s")
Question 9
In the script file, the command:
fprintf ('text as string %-5.2f additional text, variable name)
What is the meaning of the %?
Oto convert a number to percentage by multiple by 100
Ois the formatting element of a number
Omarks the spot where the number is inserted within the text
Oto color the rest of the sentence green
Transcribed Image Text:Question 8 After executing a script file, the command window appears the command: Enter the name: . To display Joel in the command window, one just simply types Joel and hits enter, the screen will show Joel. One should write in the script file: variable-input('Enter the name: ') variable=input(Enter the name:) O variable-input('Enter the name: "s') O variable=input( "Enter the name:""s") Question 9 In the script file, the command: fprintf ('text as string %-5.2f additional text, variable name) What is the meaning of the %? Oto convert a number to percentage by multiple by 100 Ois the formatting element of a number Omarks the spot where the number is inserted within the text Oto color the rest of the sentence green
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage