function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srujith chintha 4srujith chintha 4 

Write a program that asks the user for their name and greets them with their name

SwethaSwetha (Salesforce Developers) 
HI Srujith,
Try the code from
https://developer.salesforce.com/forums/?id=9060G0000005PzPQAU

If this information helps, please mark the answer as best. Thank you