Question: Set the email address james.smith@xyz . chc . com' as a string value to a variable. Use proper string functions and create two variables
Set the email address
james.smith@xyzchccom' as a string value to a variable. Use proper string functions and create two variables with string values as follows:
name 'james.smith'
company
Use code to determine length and positions.
Set up the following two variables as string values. No credit if these are set up as numbers.
price $
discount
a Clean up the strings and then convert them to numeric data type.
b Using the cleaned up numeric data type variables from a assemble and print the following string.
"Price is $ with discount of the net price is $
Note: No credit if the numbers in the string are simply typed into it
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
