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