answersLogoWhite

0


Best Answer

Print "Type the upper limit (n) ?"

Input n

K = -1

WHILE K < = n

K = K + 2

Sum = Sum + K

WEND

Print "The sum of all odd numbers up to "; n; "is "; Sum

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
BeauBeau
You're doing better than you think!
Chat with Beau

Add your answer:

Earn +20 pts
Q: 1 plus 3 plus 5 plus 7n how will you do this program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is n if 10n plus 3 equals 7n plus 5?

10n + 3 = 7n + 53n = 2n = 2/3


How do you factor -7n squared plus 74n plus 33?

-7n2 + 74n + 33 = -7n2 + 77n - 3n + 33 = -7n*(n - 11) - 3*(n - 11) = =(-7n - 3)*(n - 11) = -(7n +3)*(n - 11)


What is 3 n plus 4 n plus 7 plus 3?

7n+10


7n plus 3 equals 59 what is n?

7n + 3 = 59 7n = 56 Subtract 3 from BOTH sides n = 8 Divide by 7 on BOTH sides to isolate n


What is the simplified form of negative 5n plus 3 open parenthesis 6 plus 7n close parenthesis?

3n + 3(6 + 7n) = 3n + 18 + 21n = 24n + 18


What is -2n plus 9n?

7n -1n,0n,1n,2n,3n,4n,5n,6n,7n 1 2 3 4 5 6 7 8 9


What is the answer for (two n minus three)(n squared plus 5 n minus 1)?

It is 2n^3 + 7n^2 - 13n + 3


Solve 7n plus 2 equals 4n plus 17?

7n + 2 = 4n + 17Subtract 2 from each side:7n = 4n + 15Subtract 4n from each side:3n = 15Divide each side by 3:n = 5


What is the factor of 7n2 plus 17n - 12?

(7n - 4)(n + 3)


What is N if 7xN plus 3?

Simplifying 7n + 3 = 0 Reorder the terms: 3 + 7n = 0 Solving 3 + 7n = 0 Solving for variable 'n'. Move all terms containing n to the left, all other terms to the right. Add '-3' to each side of the equation. 3 + -3 + 7n = 0 + -3 Combine like terms: 3 + -3 = 0 0 + 7n = 0 + -3 7n = 0 + -3 Combine like terms: 0 + -3 = -3 7n = -3 Divide each side by '7'. n = -0.4285714286 Simplifying n = -0.4285714286 or n = -3/7


7 times n divided 21 equals 1 what is n?

n = 3Solution:7n/21 = 17n = 1 * 217n = 21n = 21/7n = 3


What are the next four terms of 3n plus 1?

for the sequence, 3n +1, where n = 1,2,3,4......n =1: 3*1 + 1 = 3 + 1 = 4n =2: 3*2 + 1 = 6 + 1 = 7n =3: 3*3 + 1 = 9 + 1 = 10n =4: 3*4 + 1 = 12 + 1 = 13