Question: Write the statements for a script / program , that will do the following: main: * Prompts the user for their first name and stores
Write the statements for a scriptprogram that will do the following:
main:
Prompts the user for their first name and stores the name entered in a variable called firstN suppress output
Prompts the user for a number and stores thenumber entered in a variable called userIn suppress output
If userIn is greater than and not equal to display 'Very good!
If userIn is not greater than or is equal to display 'Hmm!
If firstN is 'None', display 'Name Ignored!
Use sprintf to create a string that contains the phrase 'Thank you, the value of firstN, and an exclamation point. Store the string in the variable outl.
Display out
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
