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.
3 Replies
β This post has been reserved for your question.
Hey @SansethYT000! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Aa
π€ Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.