Computer =A basic 256 looping statement questions
To print the sum of sqares of even numbers from 1 to 20 in reverse order
Answers
Answered by
1
Yes! Despite all the protestations you hear from Big Tech, there is a simple privacy law that makes sense without destroying the tech industry. Let me explain, but first, for context if you’re unfamiliar, you should know that DuckDuckGo (my company) has a vision to raise the standard of trust online and so this topic is near and dear to our hearts. We’re vehemently opposed to tracking users and are the leading provider of privacy protection tools, including a private search engine alternative to Google (
), a private mobile web browser alternative to Chrome (DuckDuckGo Privacy Browser for
/
), and a plugin that makes your desktop searching and browsing more private (DuckDuckGo Privacy Essentials for
/
/
).
As you probably know, many countries are right now taking up the greatly needed task of updating their privacy laws for this modern era. However, they are consistently missing one key component when doing so: an easy opt-out mechanism. Anyone who ever has been to a European website in the past year will know what I’m talking about. While Europe’s GDPR law does a lot of great things, it also has created pop-up hell, much like the cookie law that preceded it.
PLEASE MAKE ME AS A BRAINLIST ANSWER
Answered by
0
Language:
BASIC-256
Program:
sum=0
for i =20 to 1 step -1
sum = sum+ i^2
next i
print sum
Output:
2870.0
Explanation:
- Line 1: Initialized sum.
- Line 2: Ran loop in reverse.
- Line 3: Squares of i is added to sum every time the loop runs.
- Line 5: Prints final value of sum.
Attachments:
Similar questions