Hindi, asked by vilhekargauri, 6 months ago

CIASSMATE
Date
Page Vidyadivas के अवसर पर vidnayan pradarshani
anumati प्राप्त करने हेतु पत्रा​

Answers

Answered by BrainlyAryabhatta
3

Answer:

Explanation:

Prog. 1

Class name

: Prime

Member Methods:

Prime()

void input(int x)

void display()

: default constructor to initialize n

: to assign n with x

: to check whether the number is prime or not

Write a program by using a class with the above specifications:

​Prog. 1

Class name

: Prime

Member Methods:

Prime()

void input(int x)

void display()

: default constructor to initialize n

: to assign n with x

: to check whether the number is prime or not

Write a program by using a class with the above specifications:

Similar questions