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
Lostsunrise [7]
2 years ago
6

Suppose x, y, z, and w are int variables. What value is assigned to

Computers and Technology
1 answer:
guapka [62]2 years ago
4 0

The value is assigned to each of these variables after the last statement executes is x=1, y=102, z =15 and w =44.

<h3>What is variable?</h3>

A variable in terms of alphabets are unknown in the form of any mathematical expression and equations.

x = 7; y = 2 * (x - 3)

putting value of x =2 , we get

y=11

We have, z = x + y - 3

putting the value of x and y , we get

z=15

We have x = z / y

put the value of z, we get

x =1

We have y = z - x

putting the value of x and z , we get

y=14

We have w = x + y + 2 * z

substitute the value of x, y and z, we get

w =45

We have w--

w= 44

Using, y = 2 * w + z - x

put the value of x, z and w, we get

y= 102

Thus,  x=1, y=102, z =15 and w =44

Learn more about variables.

brainly.com/question/15740935


#SPJ1

You might be interested in
Write a program that will predict the size of a population of organisms. The program // should ask the user for the starting num
nordsb [41]

Answer:

Following are the program in the C++ Programming Language:

#include <iostream>

using namespace std;

int main() {

 float starting, average;

 int num;

 std::cout <<"Enter starting number of the organisms: ";

 while(!(std::cin >> starting)|| starting < 2){

   std::cout<<"starting number must be greater than 2\n";

   std::cout <<"Enter starting number of the organisms: ";

   std::cin.clear();

   std::cin.ignore(123,'\n');

 }

 std::cout <<"Enter the average of daily population is increase %: ";

 while(!(std::cin >> average)|| average < 0){

   std::cout<<"Average must be greater than 0\n Enter average";

   std::cin.clear();

   std::cin.ignore(123,'\n');

 }

   average *= .01;

 std::cout <<"Enter the number of days: ";

 while(!(std::cin >> num)|| num < 1){

   std::cout<<"Number of days no be less than 1\n" <<"Enterthe number of days\n";

   std::cin.clear();

   std::cin.ignore(123,'\n');

 }

 for(int i=0; i<num; i++){

   std::cout<<"population size of day"<<(i+1);

   std::cout<<": "<<starting<<std::endl;

   starting +=(starting*average);

 }

 return 0;

}

<u>Output</u>:

Enter starting number of the organisms: 4

Enter the average of daily population is increase %: 5

Enter the number of days: 4

population size of day1: 4

population size of day2: 4.2

population size of day3: 4.41

population size of day4: 4.6305

Explanation:

Here, we define header file "<iostream>" and namespace "std".

  • Then, we define the main() inside it, we set two float data type variable i.e., "starting", "average" and set an integer data type variable i.e., "num".
  • Then, we print a message and after that, we set the while loop for get input from the user in variable "starting" and pass the condition inside loop we print message than clear cin and ignore 123 then, we again do this to get  input from user in variable "average".
  • Then, we set the for loop and pass the condition inside the loop print the size of the day then print the value of "starting" after that we multiply.
  • Finally, we return 0 and close the main function.
7 0
3 years ago
What is food technology​
bonufazy [111]

Answer:

is the application of food science to the selection, preservation, processing, packaging, distribution, and use of safe food. Related fields include analytical chemistry, biotechnology, engineering, nutrition, quality control, and food safety management.

Explanation:

4 0
3 years ago
E-banking is also called: [1]
DENIUS [597]
Answer 1 it’s online banking
3 0
3 years ago
Why are variables useful in programming?
levacccp [35]
Variables can be useful because they hold a certain number/data value that can easily be accessed and changed. For example, in a game, a players score is a variable that changes as the player gets more points; ie coins, items, etc.

4 0
3 years ago
Read 2 more answers
In a word processing program, under which tab or menu option can you adjust the picture brightness?
Otrada [13]
B. format because changing the brightness of the photo is changing its default format
5 0
3 years ago
Read 2 more answers
Other questions:
  • Which is true for a hosted blog software
    15·2 answers
  • Search engines that search other search engines are called
    12·2 answers
  • What is a series of instructions or commands that a computer follows used to create software
    9·1 answer
  • Which of the following takes place during the research phase
    7·1 answer
  • Select the recommended design practice that applies to a web site using images for main site navigation.
    7·1 answer
  • How does emotional awareness help you with non-verbal communication?
    13·2 answers
  • The small company where you work needs to implement a second server for its accounting system, but does not have the funds to pu
    11·1 answer
  • Please help!!! I am very confused about this question!
    10·1 answer
  • Help help help help help!!!
    7·1 answer
  • What plan can businesses use to protect sensitive data from malicious attacks?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!