Answer:https://www.khanacademy.org/computer-programming/lava-the-impossible-game-by-swax97/4638717300965376/embedded?id=1436456095000-0.5&origin=undefined&buttons=yes&embed=yes&editor=no&author=yes
Explanation:
Answer:
Following are the program in the C++ Programming Language.
//set header file or namespace
#include <iostream>
using namespace std;
//define main function
int main() {
//set integer type array with indexing 10
int a[10];
//set integer type variable to 1
int i=1;
//set element in 1st index
a[0]=17;
//set element in last index
a[9]=29;
//set while loop for the remaining elements
while(i<9)
{
//set -1 in the remaining elements
a[i]=-1;
i++;
}
//set for loop to print array
for ( int j = 0; j < 10; j++ ) {
cout << a[j]<<endl;
}
}
<u>Output:</u>
17
-1
-1
-1
-1
-1
-1
-1
-1
29
Explanation:
In the following program, we define the main function "main()" and inside it.
- Set an integer type array element "a[]" with index value 10.
- Set integer data type variable "i" initialize to 1.
- Set elements in the first and last place in the array.
- Set the while loop to initialize elements for the remaining place.
- Set the for loop to print the array elements.
<span>When an online company runs a special promotion on swimsuits during the summer, they are taking advantage of the concept of p</span>eople’s urge to go for swimming to beat the summer heat and keep themselves cool. As a result, they are very likely to buy more swimsuits to go swimming.
With a special promotion on swimsuits, people are likely to buy the company’s merchandise. This is because they can get what they want by paying a lesser amount than usual. In turn, the company is able to benefit by making more sales than its online and retail competitors.
Answer:
The simple algorithm is described below
Explanation:
assign all men and women as free
while some man m is free do
w = highest ranked women on m's list
if w is free
then m proposes w and m and w are engaged
else if w is not free and with m1
and if w picks m over m1
then w and m are engaged
free m1
end
output all the pairs
Answer:
Maintenance Phase
Explanation:
One of the concepts employed in project management for describing stages involved when carrying out an information system development project is the systems development life cycle (SLDC). The cycle which starts from carrying out a feasibility study and ends in maintenance is a highly used conceptual model. There are 5 major stages or phase and they are the; Requirement Phase, Design Phase; Implementation Phase, Test Phase, and the Maintenance phase. The maintenance phase comes when testing has been complete and all enhancement and modifications have already been developed, and the system is operating.