Wow...that’s a long paragraph
Algorithm
STEP 1: START.
STEP 2: DEFINE n, i, j.
STEP 3: SET sum =0.
STEP 4: SET n =100.
STEP 5: REPEAT STEP 6 to STEP 10 UNTIL i<=n.
STEP 6: REPEAT STEP 7 and STEP 8 UNTIL j<=i/2.
STEP 7: if i%j ==0.
STEP 8: sum =sum + j.Algorithm
STEP 1: START.
STEP 2: DEFINE n, i, j.
STEP 3: SET sum =0.
STEP 4: SET n =100.
STEP 5: REPEAT STEP 6 to STEP 10 UNTIL i<=n.
STEP 6: REPEAT STEP 7 and STEP 8 UNTIL j<=i/2.
STEP 7: if i%j ==0.
STEP 8: sum =sum + j.
Answer:
The answer to the question is included in your question. I guess you need an explanation or clarification.
See Explanation Below
Explanation:
struct Money
{
int dollars,cents;
};
int x,y;
cin>>x>>y;
sales.dollars= x;
sales.cents= y;
The code segment is written in C++ programming language
On Line 1 of the code segment;
The struct keyword is used in c++ and other c type programming to define structure. The name of the structure is Money.
It defines a data type such that the data type is a collection of system and user defined data types
The Money structure defines two integer variables; dollars and cents on line 3.
On line 6, two integer variables x and y are declared.
On line 7, the two variables received inputs from the user.
On line 8, the value of variable x is assigned to dollar
On line 9, the value of variable x is assigned to cent
In linear algebra, Gaussian elimination<span> (also known as row reduction) is an algorithm for solving systems of linear equations. It is usually understood as a sequence of operations performed on the corresponding matrix of coefficients.</span>