Hello programmers. I am starting a series of programming challenges for beginners here. I'll post the problems with some explanation, screenshot of the final output and a little bit of hint if it is really needed. Solve your problems using any programming language you are comfortable with.
Here goes the first problem.
Programming Challenge #1: Add Up To Second Number
Details: Write a program which asks users to input two numbers. Your task is to add all the consecutive numbers from first number to second.
Example:
Input 1: 1
Input 2: 10
Answer: 55
Additional Task(optional): Show the numbers being add.
Final Output Screenshot:
Here goes the first problem.
Programming Challenge #1: Add Up To Second Number
Details: Write a program which asks users to input two numbers. Your task is to add all the consecutive numbers from first number to second.
Example:
Input 1: 1
Input 2: 10
Answer: 55
Additional Task(optional): Show the numbers being add.
Final Output Screenshot:
No comments:
Post a Comment