Answer and Explanation:
var gettext= prompt("please enter text");
function strtok(gettext){
var splitString = gettext.split("");
if(splitString.length<=80){
var reverseArray = splitString.reverse();
var joinArray = reverseArray.join("");
return joinArray;}
else{
Alert("too many characters");
}
}
/* we first ask for user input using the prompt function. We save this in a variable gettext which we pass to the strtok function. This function first splits the text and makes it an array so we are able to count how many characters the user enters and set an if..else condition to handle characters that may be more than 80. The reverse and join functions are then used respectively to reverse and return the string.*/
Answer:
D. Ionic framework
Explanation:
Out of all mentioned above, the best for developing the progressive app is certainly the Ionic. This is because it is an open-source, hybrid mobile app, cross-platform, and comes with the services and tools that are required for developing the app using web technologies like HTML5, Sass, and CSS. And Ionic happens to be the cheapest of all the framework mentioned above. Hence, it is the correct option. You can load your app on almost all the major app stores, and this is the biggest advantage with Ionic.
Answer:
#include <iostream>
#include <string>
using namespace std;
int main() {
string mth;
int dy;
cin >> mth >> dy;
if ((mth == "January" && dy >= 1 && dy <= 31) || (mth == "February" && dy >= 1 && dy <= 29) || (mth == "March" && dy >= 1 && dy <= 19) || (mth == "December" && dy >= 21 && dy <= 30))
cout << "Winter" << endl;
else if ((mth == "April" && dy >= 1 && dy <= 30) || (mth == "May" && dy >= 1 && dy <= 30) || (mth == "March" && dy >= 20 && dy <= 31) || (mth == "June" && dy >= 1 && dy <= 20))
cout << "Spring" << endl;
else if ((mth == "July" && dy >= 1 && dy <= 31) || (mth == "August" && dy >= 1 && dy <= 31) || (mth == "June" && dy >= 21 && dy <= 30) || (mth == "September" && dy >= 1 && dy <= 21))
cout << "Summer" << endl;
else if ((mth == "October" && dy >= 1 && dy <= 31) || (mth == "November" && dy >= 1 && dy <= 30) || (mth == "September" && dy >= 22 && dy <= 30) || (mth == "December" && dy >= 0 && dy <= 20))
cout << "Autumn" << endl;
else
cout << "Invalid" << endl;
return 0;
}
Explanation:
1. Cabinetry
2. Counter-tops
3. Appliances
4. Flooring
sorry i could only find four