Question: Write the following programs in ML: 1) Print Hello World to stdout 2) Write a program that reads a text file and outputs the text
Write the following programs in ML:
1) Print "Hello World" to stdout
2) Write a program that reads a text file and outputs the text file with line numbers at the beginning of each line.
3) Write a program that accepts a number N from stdin and prints out the volume of a sphere with radius N meters to stdout.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
