Question 1 of 30
In a programming scenario, you are tasked with creating a program that calculates the sum of all even numbers from 1 to a given number \\( n \\). You decide to use a loop to iterate through the numbers. If \\( n \\) is 10, what will be the final output of your program after executing a loop that correctly sums all even numbers?
30
25
20
35

Preparing for Microsoft 98-380 Introduction to Programming Using Block-Based Languages (Touch Develop)? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free