Answer: A loop will continue running until the defined condition returns false . ... You can type js for , js while or js do while to get more info on any of these. ... initialization - Run before the first execution on the loop. ... But it can be used to decrement a counter too. statement - Code to be repeated in the loop.
Something like the following. Also you need to give what language you are using. Anyways, you should be able to convert this to your language of choice.
<script type="text/javascript"> function checkGeneration() { var gen = ["Baby Boomer ","Generation X","Xennials","Generation Y"]; var reversestr = ""; var getyear = window.prompt("Enter a 3 digit number: "); if (parseInt(getyear) <= 1964) { alert(gen[0]); } else if(parseInt(getyear) <= 1979) { alert(gen[1]); } else if(parseInt(getyear) <= 1985) { alert(gen[2]); } else if(parseInt(getyear) <= 1995) { alert(gen[3]); } } checkGeneration(); </script>
Big Data Technology can be defined as a Software-Utility that is designed to Extract,Analyse and Process the information from an extremely complex and large data sets which the Traditional Data Processing Software could never deal with. Big data is a field that treats ways to analyze, systematically extract information from, or otherwise deal with data sets that are too large or complex to be dealt with by traditional data-processing application software.
Predictive analytics assists enterprises in identifying future opportunities and likely risks by distinguishing specific patterns over the historical data. In general, prescriptive analytics is a predictive analytics which prescribes one or more courses of actions and shows the likely outcome/influence of each action.