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>
Navigation items are used for moving from one part of the part to a destination using actions and also for passing information. The right option is <em>C. In the navigation menu and the first four items of the </em><em>navigation bar</em><em>, when users are in the app </em>
<em />
There are different methods/ways to implement the Navigation component in a mobile application, we have the following type of Navigation Implementation
- Bottom Navigation
- Drawer Navigation(Slides from Left to right)
- Top Navigation
Learn more about Navigation here:
brainly.com/question/8908486