Computer Science, asked by mannaelizabethj, 5 months ago

Write a class programme by using class with the following
Specifications

class Name: prime

Data Members /instant variables: int n

Member functions: Prime (): Constructor to Initialize n

Void input (int x) : to assign n with x

void display(): to check and print whether the
Number n is prime is not

Answers

Answered by reeyamahanta
0

Answer:

your which class. tell me I will answer

Similar questions