किस की अनुशंसा पर मौलिक कर्तव्य जोड़े गए ?
Answers
Answered by
5
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