GUVI
Back

doubt

Created 2 years ago
25 Views
1 Comments
RazakNafi
@RazakNafi
RazakNafi
@RazakNafiProfile is locked. Login
plz help me for how to get output in single line with space in the below code const num = 9; var n = +userInput; var result = 1; for(i=1; i<=3; i++) { result =(i*num); console.log(result); } i get output like this 9 18 27 but i trid to get it in single line
Comments
Please login to comment.
 
Powered by habitate.io Habitate