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;
}
I'm not sure about the answer but you could try drawing it how it describes it. It may help you picture it better. Sorry I couldn't be any more help but that's what I would try
Answer:
32-25
Step-by-step explanation:
Hello!
We have to find how fast the car goes a minute
To find this we can do 57/60 since the car goes 57 miles an hour and there are 60 minutes in an hour
This gives us 0.95 miles a minutes
Answer:
<h2>a. 2,025 ft</h2><h2>b. 8,100 is a perfect square. </h2>
Step-by-step & explanation:
<em>It is a perfect square because if it wasn't, it wouldn't be equally a whole number when divided by 4 or 2,025 exactly on ALL 4 sides and when finding the root of 8,100 it's a perfect 90. As you should already know a perfect square has a given 90 degree angle.</em>
Tarp = 8,100 sq ft.
- anchored corners at the base.
- Square infield.
Well if there's 4 bases, divide 8,100 by 4.
8,100 / 4 = 2,025
One base to another base is 2,025 ft.