Exercises - 1

JS Exercises

by webspicer

JavaScript

function tellFortune(childCount, partnerName, geoLoc, jobTit)
{
	alert( "You will be a "  + jobTit + " in "+ geoLoc+", and married to "+ partnerName+ " with " +childCount+ " kids." );
}
tellFortune(2, 'Krithika', 'Bangalore', 'Microsoft');

tellFortune(2, 'elakiya', 'Bangalore', 'Microsoft');

tellFortune(2, 'Durga', 'Bangalore', 'Microsoft');