Go to the apps page. When you get there find the search bar, and once you find the search bar, click in it and type in Microsoft Excel 2013. The application will come, click on it and it will open. *Note:- This is only if you have already downloaded it on your computer/laptop, or if it came with your laptop/computer.*
Hope I helped ya!! xD
Answer:
C++
Explanation:
class MyBoxes {
private:
// Pointer to Box object and array size. Required for dynamically creating an array.
Box* boxes;
int array_size;
// Constructor
MyBoxes(int array_size) {
self.array_size = array_size;
boxes = new Box[array_size] ;
}
public:
// Methods
int emptyspace() {
int count = 0;
for (int i=0; i < self.array_size; i++) {
// Check for null
if (!boxes[i])
count++;
}
return count;
}
void add(int length, int width, int height) {
Box box1(length, width, height);
if (self.emptyspace() == 0) {
self.addToArray(box1);
}
}
void print() {
Box *temporaryBox;
for (int i=0; i < self.array_size; i++) {
temporaryBox = boxes[i];
if (temporaryBox) {
cout<<temporaryBox->length<<endl;
cout<<temporaryBox->width<<endl;
cout<<temporaryBox->height<<endl;
}
}
// Free memory
delete temporaryBox;
}
290 is the number i found, So i would assume "C" is correct.
Answer:
#include <iostream>
using namespace std;
int main()
{
int day;
cout<<"Enter a number for the day of the week"<<endl;
cin>> day;
switch (day) {
case 1: cout << "Monday"<< endl; break;
case 2: cout << "Tuesday" << endl; break;
case 3: cout << "Wednesday" << endl; break;
case 4: cout << "Thursday" << endl; break;
case 5: cout << "Friday" << endl; break;
case 6: cout << "Saturday" << endl; break;
case 7: cout << "Sunday" << endl; break;
default: cout<<"Error, You entered an invalid day"<<endl;
}
return 0;
}
Explanation:
The program is written using a switch statement in C++ programming language. we start off by creating a variable day of type integer, which is received using the cin statement. We then use switch statement to test the value using the conditions stated in the question. We use the default statement which acts like an else statement to handle the an invalid situation