Write a C++ program to demonstrate exception handling. This program takes marks of ten students in a subject as input and store it in an array. Make provisions so that if marks entered as input is less than 0 or greater than 100 then message “Invalid Input” is displayed and program terminate normally
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
class oper
{
int s,s1,s2,s3,s4,s5;
//cout<<"USE OF AIRHTEMATIC OPERATOR";
public:
void sum(int a,int b)
{
cout<<"USE _____ _________ ______ ____ __________ _______ ___.
_______ ______ _____ ______ _____ _____ ______ _________ ____.
_______ _______ _______ __________ __________ ____ ____ _________ ________ _____ ___ ____.
_________ _______ _________ ____ _________ ______ ____ __________ __________ _________.
________ ________ ______ _______ _____ ___.
_______ _________ ______ _________ _________ ________ ______ ________ ____ _____ ___.
_____ ___ _____ ____ _____ ________ ____ ____ _______.
______ __________ ______ ____ _____ ______ _______ _______ ____ ____.
___ ___.
Get Full Answer on WhatsApp