Topic: Mathematics Problem / Level: intermediate

Problem: Write a program to compute the nth term of an arithmetic sequence.

Run the code to see the output here...