I'm just starting to learn c++.
I tried to write linear search program using class.please notify me if there are any errors in my codes.?
#include<iostream>
using namespace std;
class search {
private:
int i,pos,flag,n,num,arr[50];
public:
void read()
{
cout<<"enter array size: ";
cin>>n;
cout<<"Enter the elements: ";
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
}
void process() {
cout<<"enter your search number: ";
cin>>num;
for(int i=1;i<n;i++)
{
if(arr[i]==num)
{
int flag=1;
pos = i+1;
break;
}
}
}
void display()
{
if(flag==0)
{
cout<<"your search number not present in this array!";
}
else
cout<<num<<"was found"<<" "<<pos<<" "<<"position";
}
};
int main()
{
search s;
s.read();
s.process();
s.display();
return 0;
}
Both universities have the preferred regional accreditation by the Middle States Association of Colleges and Schools. Therefore, the coursework and degree one completes through either of these institutions of higher learning will be recognized by all other colleges and universities as well as employers. Read the below issues students choosing a school should be concerned with.
Things you should be concerned with are as follows.
Whichever institution you choose, you must be satisfied with the services offered, the faculty, and comfortable with the institutions campus environment. In this way, your academic performance will be greatly enhanced.
university of east anglia norwich
yes definitely Islamic university7 have got a very good university. as we know that this university is a general university.Islamic university is the 3rd biggest platform of education in Pakistan. Yes, the department of environmental science has been introduced in 2007 But it is very substantial department of Islamic University . i am also a student of environmental sciences my senior fellow of Islamic university in the department of environmental science and he has got scholarship from Islamic university to America for 2 semisters. at the end i will say that we need to aware the people of Pakistan about environmental issues because these are creating problems. So be a good Environmentalist.............
Ashford University and Kaplan University are both great Universities to study science and biology (otherwise known as environmental and animal studies) and get your degree.
The university of California, Berkely is a great school to go to but it depends what area you want to study in the university is more of a environmental science, policy and menagement .if you look up the 10 best schools to go to for environmental science you can read more about it
Case Western Reserve University in Cleveland, Ohio has a good Environmental science program. This program at this school is high in the national rankings.
environmental science
There are many different colleges in Louisiana to study environmental science, and all are great for different reasons. However, I would strongly suggest the Louisiana State University.
I'm from Alberta, Canada, and have many classmates who are currently finishing up their Environmental Engineering degree after completeing degrees within other programs. I don't see why a University or College would not allow you to take environmental engineering after completing an undergrad in environmental science. Provided your academics is sufficient for acceptance into the program.
satish chander
sir i have done nsc in botany i want do phd please guide me
because it is a environmental study of donkey.........
the importance of environmental science for our community