You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

419 B

printdigitsprog

Instructions

Write a program that prints the decimal digits in ascending order (from 0 to 9) on a single line.

A line is a sequence of characters preceding the end of line character ('\n').

Usage

student@ubuntu:~/printdigitsprog$ go build
student@ubuntu:~/printdigitsprog$ ./main
0123456789
student@ubuntu:~/printdigitsprog$