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>
The answer is F7. When you click F7 it highlights key words.<span />
Answer:
You can use the Import spreadsheet wizard program.
Explanation:
On the Office ribbon, select the External Data tab and click Excel. The "Get External Data - Excel Spreadsheet" wizard appears. In the File name field, browse to the Excel file. Select the "Import the source data into a new table in the current database" option and click OK.
Answer:
Yes, we can.
Explanation:
We can combine with the arithmetic and the concatenation operators to provide augmented assignment operations in the programming language Python.
This mean we can abbreviate expressions like n = n + 1
For example:
n += 10 this is equal to n = n + 10
n += "example" this is equal to n = n + "example"
In this example we have
variable = variable operator expression equal to variable operator = expression.
These arguments are often used in Python's loops.