Question

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

21 Jan 2021
Answer :
Word Count : 95

#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

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write a C++ program to demonstrate exception handling. This program ta
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support