Computer Science, asked by shruthika1704, 9 months ago

Write a program that reads nine integers and prints them three in a line separated by commas

Answers

Answered by Anonymous
0

Explanation:

Input:

10 31 2 73 24 65 6 87 18

Output

73, 24, 65

6, 87, 18

10, 31,2

Answered by rosey25
9

Answer:

function thousands_separators(num) { var num_parts = num.toString().split("."); num_parts[0] = num_parts[0].replace(/\B(?=(\ ...

function numWithComma(a) { return a.toString().replace(/\B(?=(\

hope it helps you

Similar questions