Answer:
Algorithm
Start
Int n // To represent the number of array
Input n
Int countsearch = 0
float search
Float [] numbers // To represent an array of non decreasing number
// Input array elements but first Initialise a counter element
Int count = 0, digit
Do
// Check if element to be inserted is the first element
If(count == 0) Then
Input numbers[count]
Else
lbl: Input digit
If(digit > numbers[count-1]) then
numbers[count] = digit
Else
Output "Number must be greater than the previous number"
Goto lbl
Endif
Endif
count = count + 1
While(count<n)
count = 0
// Input element to count
input search
// Begin searching and counting
Do
if(numbers [count] == search)
countsearch = countsearch+1;
End if
While (count < n)
Output count
Program to illustrate the above
// Written in C++
// Comments are used for explanatory purpose
#include<iostream>
using namespace std;
int main()
{
// Variable declaration
float [] numbers;
int n, count;
float num, searchdigit;
cout<<"Number of array elements: ";
cin>> n;
// Enter array element
for(int I = 0; I<n;I++)
{
if(I == 0)
{
cin>>numbers [0]
}
else
{
lbl: cin>>num;
if(num >= numbers [I])
{
numbers [I] = num;
}
else
{
goto lbl;
}
}
// Search for a particular number
int search;
cin>>searchdigit;
for(int I = 0; I<n; I++)
{
if(numbers[I] == searchdigit
search++
}
}
// Print result
cout<<search;
return 0;
}
<span>Given the diagram, where AB and EF are horizontal lines and CB is a vertical line segment.
Given that FB : FC = 4 : 3,
From the diagram, the coordinate of A is (-10, -8) and the coordinate of C is (-3. -1).
We can also see that the coordinate of B is (-3, -8) (since CB is a vertical line means that B is the same x-value as C and AB is a horizontal line means that B is the same y-value as A)
Recall that the coordinate of a point dividing a line segment in the ratio m:n is given by (x1 + m/(m+n) (x2 - x1), y1 + m/(m+n) (y2 - y1))
Thus, since FB : FC = 4 : 3, this means that point F divides the line segment BC in the ratio 4 : 3.
Thus, the coordinate of F is given by (-3 + 4/(4+3) (-3 - (-3)), -8 + 4/(4+3) (-1 - (-8))) = (-3 + 4/7 (0), -8 + 4/7 (7)) = (-3, -4).
Also, given that FB : FC = 4 : 3, this means that point D divides the line segment AC in the ratio 4 : 3.
Thus, the coordinate of D is given by (-10 + 4/(4+3) (-3 - (-10)), -8 + 4/(4+3) (-1 - (-8))) = (-10 + 4/7 (7), -8 + 4/7 (7)) = (-6, -4).
Therefore, the coordinates of point D is (-6, -4).</span>
Answer:
8.0
Step-by-step explanation:
eight inch big ooo thats the pick
The slope intercept is equal to the rise/run.
So lets say to get from one point to the other, you go down 2 units and go right 3 units.
Since you went down it is a -2. If you had gone up 2 units, then it would be a positive 2.
Since you went to the right, it is a positive 3. If you had gone left 3 units, then it would be -3.
-2/3