Topic: Queue Problem / Level: beginner

Problem: Write a program to find the sum of the first n natural numbers using a queue.

Run the code to see the output here...