Computer Science, asked by rd8485807, 9 months ago


1. Write a class program in Java with the following specifications:
Class name : Hcflcm
Data members/instance variables : int ab
Member functions:
hcflcm (int x, int y): constructor to initialize a=x and b=y.
void calculate(): to find and print hcf and lcm of both the numbers​

Answers

Answered by jaydip1118
0

Answer:

100% correct answer

Hope it's helpful ✌️✌️

\huge\color{red}\boxed{\colorbox{black}{PLEASE\: MARK\:ME\: BRILLIANCE}}

\huge\color{red}\boxed{\colorbox{black}{FOLLOW \:ME}}

Attachments:
Similar questions