1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
maw [93]
3 years ago
9

Write a for loop that assigns summedvalue with the sum of all odd values from 1 to usernum. assume usernum is always greater tha

n or equal to 1. ex: if usernum is 5, then summedvalue is 9 (i.e. 1 + 3 + 5 = 9).
Mathematics
1 answer:
nadya68 [22]3 years ago
5 0
I don't know which language you use those, so I assume that you use c++
for (int i = 1; i <= userNum; i++)
{
      summedValue = summedValue + i;
      i = i + 1;
}
You might be interested in
Solve.<br> f/5 - 24 = -28 <br><br> f =
jeka94

Answer:

f=260

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Ethan's school has a sports field with an area of 6,450.35 square yards. If the length of the field is 90.85 yards, what is the
OLEGan [10]
Here's how it's solved.. ツ
"""""""""""""""""""""""""""""""""

3 0
3 years ago
A field hockey field is rectangular. Its width is 54.88 meters, and its perimeter is 289.76 meters. Find the length of the field
Alchen [17]

Answer:

90 PLEASE MARK ME BRAINLLIEST

Step-by-step explanation:

289.76-54.88-54.88=180/2=90

6 0
3 years ago
Read 2 more answers
Which point is the image of R? Choose one answer: A B C D
geniusboy [140]

Answer:

point D

Step-by-step explanation:

moving 270 degrees clockwise from point R would result in the point being in quadrant I

point D is the only point in quadrant I

4 0
3 years ago
Read 2 more answers
What is 384,400 in scientific notation
MrMuchimi

Answer:

plz do not delete this can u plz help me i am depressed

Step-by-step explanation:

3 0
4 years ago
Other questions:
  • What is the value of z?
    5·1 answer
  • Please help me with this equation
    8·2 answers
  • Perpendicular lines are always coplanar
    7·1 answer
  • It is right?????????
    6·2 answers
  • The temperature went from -12F to 18F how much did the temperature change?
    10·2 answers
  • Given f(x) = 8x^6 and g(x) = 8x^5 ,what is f(x)/g(x)?
    6·2 answers
  • There are 48 cards in a pack and each card is either red or black.the ratio of the number of red cards to the number of black ca
    13·1 answer
  • What inequality does this graph represent?
    13·1 answer
  • .....................................
    12·1 answer
  • Dialo walked 42,240 feet in two hours. How many miles will he walk in three hours
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!