## Write a program that inputs marks of ten students in an array (maximum marks are 100) and counts the number of students that have marks between 80 and 100.

**So let’s Write Code:**

###### Write a program that inputs marks of ten students in an array (maximum marks are 100) and counts the number of students that have marks between 80 and 100.

```
#include<iostream.h>
using namespace std;
main()
{
float marks[10], n;
for(n = 0; n<=9; n++)
{
cout<<"Enter marks of student no. "<<n+1<<" ? ";
cin>>marks[n];
}
cout<<"\n\n Students that have marks between 80 and 100 "<<endl;
for(n = 0; n<=9; n++)
if(marks[n] >=80 && marks[n]<=100)
cout<<"Student no. "<<n+1<<" has marks :"<<marks[n]<<endl;
}
```

**Hope You will learn Something. Happy Coding.**

###### Visit my YouTube Channel as WellðŸ˜‡ https://www.youtube.com/watch?v=JuIHQ9cLSEw&list=PLbIhkHxfUIItTdcyCb34uRIrPJbXBndIl&index=4

**Click on the below Links for more Programming Exercises: **

**Conditional Structure Exercises: **ðŸ‘‰https://myustaadg.com/category/programming-exercises/conditional-structures-exercises/

**Array Exercises: ðŸ‘‰**https://myustaadg.com/category/programming-exercises/arrays-exercises/