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;
}
P(more than 1 hour of TV | 6th period class) is 0.352.
<h3>What is the probability?</h3>
Probability determines the odds that a random event would happen. The odds of the random event happening lie between 0 and 1.
P(more than 1 hour of TV | 6th period class) = number of 6th period class students who watch tv for more than an hour / total number of students surveyed
12 / (12 + 9 + 5 + 8)
12 / 34 = 0.352
To learn more about probability, please check: brainly.com/question/13234031
#SPJ1
Hi!
An obtuse angle is one greater than 90 degrees, a right angle one that is 90, and acute less than 90.
An obtuse triangle is one with one obtuse angle, all the rest being acute. A right triangle is one with one right angle, all the rest acute. And finally, an acute triangle is one with three acute angles.
In this case, the angles measure 83 degrees, 31 degrees, and 66 degrees. All of them are acute angles, as they're all less than 90 degrees.
Therefore, the triangle is an acute triangle.
Hope this helped!
In order from left to right its RRRT
R is repeating and T is terminating
They both equal so symbol is "=" they have LCM of 3 .