You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//14.Guest List: If you could invite anyone, living or deceased, to dinner, who would you invite? Make a list that includes at least three people you’d like to invite to dinner. Then use your list to print a message to each person, inviting them to dinner.
let guestList: Array<string> =
[
"Shakeela Batool",
"Bushra",
"Hira",
];
// Loop for each to print invitation
guestList.forEach((guestName) =>
{
console.log(`Dear ${guestName}, You Are Invited To Dinner Please Come & Join Us.`)