Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

toadytica305

  • one year ago

Double checking work... The variable a starts with the value 1. The variable b starts with the value 10. The variable c starts with the value 100. The variable x starts with the value 0. Store the value of c times 3 in x. Add the value of b times 6 to the value already in x. Add the value of a times 5 to the value already in x. Display the value in x on the screen.

  • This Question is Closed
  1. toadytica305
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Answer is 365? a=1 b=10 c=100 x=0 100(3)=300(x) 10(6)=60, 300+60=360(x) 1(5)=5, 5+360=365 display 365

  2. KonradZuse
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    a=1 b=10 c=100 x=0 x = c * 3; //100 * 3 = 300 x = x + (b * 6); // 300 + (6 * 10) = 360 x = x +(a * 5); // 360 + (1 * 5); = 365.

  3. andry.chowanda
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    yes indeed 365. a = 1 b = 10 c = 100 x = 0 x = 100 * 3 = 300 x = 300 + 10 * 6 = 360 x = 360 + 1 * 5 = 365 Display x (365)

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.