akshitagit / akshitagit/JavaScript

Find HCF

オープン
#31 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
Beginner good first issue Hacktoberfest hacktoberfest2020 Javascript
主要言語
JavaScript
スター
90
フォーク
106
PR マージ指標
30日以内にマージされた PR はありません

説明

Given N positive numbers, your task is to calculate their HCF.
Input Format

First line of input contains a single integer N, second line contains N space separated positive integers whose HCF is to be computed.
Constraints

N <= 10 and all the numbers lie between 1 and 100.
Output Format

Print HCF of N numbers.
Sample Input

3
2 4 6

Sample Output

2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。