Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8741679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:21:34+00:00 2026-06-13T11:21:34+00:00

If Variable 1,2 and 3 have the values 3,5 and 7 respectively, select the

  • 0

If Variable 1,2 and 3 have the values 3,5 and 7 respectively,
select the correct sequence of equations that will result in placing values
12 in variable 1
and
15 in variable 3
(Use only ADD operator)

    $var1 = 3;
$var2 = 5;
$var3 = 7;

//anser 12 
echo $var1 = $var2 + $var3;


echo $var3 = $var3 + $var1;
//here i need to ge 15 for var 3 
//but var1 value now 12 so anser is 19 (wrong)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:21:35+00:00Added an answer on June 13, 2026 at 11:21 am
    $var1 = 3;
    $var2 = 5;
    $var3 = 7;
    
    
    $var2 = $var3+$var2; # 12
    $var3 = $var2+$var1; # 15
    $var1 = $var2; # 12
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an unsigned int variable and it can only have the values of
I have variable @count of datatype int.I am setting values to this @count. I
I have a variable holding values separated by a comma (Implode), and I'm trying
I have a array with a variable amount of values. Is there a more
I have to initialize a script variable in a for loop with different values
I have a data frame with a grouping variable 'ID' and some values ('Value'):
I have classname stored in variable $classname; also I have an array of values
Beginner question: I have a dictionary where the values are lists of (a variable
i have value in php variable like that $var='2.500000550'; echo $var what i want
I would like to have a function that modifies some variable list of parameters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.