SansethYT000
JCHJava Community | Help. Code. Learn.
โขCreated by SansethYT000 on 5/5/2025 in #java-help
Just gimme the answer๐ญ๐ญ๐๐
1) Create a class with the following methods:
a) int HCF(int a, int b), which returns the highest common factor (HCF) among the
two integers a and b and return it.
b) void call() to input 10 integers and using the above function find the HCF among
the 10 integers.
5 replies