Activity:
Initialize a JSON object variable called customer:
json
{
"first_name": "alice",
"last_name": "johnson",
"email": " alice.johnson@example.com ",
"score": "42.5"
}
Using inline transformations, add Console steps to display the following:
- The customer’s first name in uppercase
- The customer’s full name in title case
- The email after removing leading and trailing spaces
- The score converted to an integer
- A fallback value โ Try converting to lower customerโs city; for fallback case, display “
City Not Available“
Hints:
Expected Output:
ALICE
Alice Johnson
alice.johnson@example.com
42
City Not Available