Answer:
yes
Step-by-step explanation:
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;
}
Answer:
3.5 inch^3
Step-by-step explanation:
Volume of cube: V = s^2,
where V = volume, and s = length of side or edge.
The volume of the prism is the same as the volume of 28 cubes with edge length of 1/2 inch. To find the volume of the prism, find the volume of one cube and multiply by 28.
volume of prism = 28 * volume of cube
volume of prism = 28 * (1/2 inch)^3
volume of prism = 28 * 1/8 inch^3
volume of prism = 3.5 inch^3
Answer:
Helena gave the answer as (7y²z + 6yz²- 5 - 3yz² + 2) which is equivalent to (7y²z + 3yz² - 3).
Step-by-step explanation:
Misha's group was asked to write an expression equivalent to
7y²z + 3yz² - 3
When Mr. Chen checked their answers, he found only one to be correct.
And she was Helena.
Helena gave the answer as (7y²z + 6yz²- 5 - 3yz² + 2) which is equivalent to (7y²z + 3yz² - 3).
Because, (7y²z + 6yz²- 5 - 3yz² + 2)
= 7y²z + (6yz² - 3yz²) - (5 - 2)
= 7y²z + 3yz² - 3 (Answer)
Answer:
40 girls
Step-by-step explanation:
if you multiply 5 times 10, then you have to multiply the other side by 10 too. So 5 times 10 equals 50, and 4 times 10 equals 40.
40+50+=90.