diff --git a/C++/subject_marks b/C++/subject_marks new file mode 100644 index 0000000..dfb7135 --- /dev/null +++ b/C++/subject_marks @@ -0,0 +1,33 @@ +#include +using namespace std; +int main() +{ + int n,b,c; + cout<<"enter the subject "; + cin>>n; + cout<<"enter the marks "; + int a[n]; + for(int i=0;i>a[i]; + + } + b=a[0]; + c=a[0]; + + + + for(int i=0;ib){ + b=a[i]; + } + if(a[i]