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
VikaD [51]
4 years ago
13

A and B have same output or not? A B x=0 x=0 do do x<3 x=x+1 x=x+1 print x print x while x<3 while

Computers and Technology
1 answer:
katen-ka-za [31]4 years ago
6 0

Answer:

A and B have different output:

A output will be 1

B output will be 123

Explanation:

A

X = 0

do x < 3

x = x+1

print x

while

B

X = 0

do x = x+ 1

print x

while x < 3

For statement A the condition statement which suppose to be after "while" is not set therefore the value of x will be printed.

For statement B the condition statement is set "x < 3" in front of "while" thereby result in iteration until the condition is false.

Statement A output will be 1

Statement B output will be 123

You might be interested in
Your essay is due tomorrow and you don't have time to write it. You decide to buy an essay online. You've paid for it, so it can
viva [34]

Answer:

false

even though you have paid for it , you still didn't write it by yourself, there for it will still be seen as plagiarism.......hope this helps

4 0
3 years ago
A company has recently learned of a person trying to obtain personal information of the employees illegally according to which a
wel
This is illegal. The person responsible for this could be sent to jail for a very long time. He should also be fired. 
7 0
3 years ago
What feature of modern productivity tools makes it possible for files created in one software product to be opened in another so
aksik [14]

Answer:

File-exchange compatibility.

Explanation:

File exchange compatibility is the aspect of modern productivity apps that allows files generated in a software package to also be accessed from another software product.

In other words, it is that type of feature by which the user creates any file in his desktops software then that file is also compatible with another desktop or any other software also.

6 0
3 years ago
Who invented the Porsche?
horsena [70]

Ferdinand Porsche. Hoped this helped!

3 0
3 years ago
Read 2 more answers
What the internet would be like without net neutrality
Pavlova-9 [17]
You will have to buy subscription packages for the services that you want to use. companies can milk you and over charge to have certain websites. many of the poorer population will not able to afford internet therefore it will be more exclusive to the people who can pay. it will be taking away freedom of speech for the people who cant access it and will also be much slower and jammed for the people who can.
7 0
4 years ago
Other questions:
  • Given positive integer numInsects, write a while loop that prints that number doubled without reaching 200. Follow each number w
    8·1 answer
  • Why were the spices in Asia so expensive when sold in Europe?
    11·2 answers
  • The internet is a worldwide assembly of computer
    11·1 answer
  • Clep allows students to do all of thw following except which?
    9·2 answers
  • Windows Server 2012 R2 provides hardware-independent NIC teaming or bonding to allow for better network performance and adapter
    6·1 answer
  • Robert’s computer is not working properly. It has become too slow to respond to programs. What can he do to maintain his compute
    15·1 answer
  • ____ a British mathematician devolved the concept of a programmable digital computer and worked with Ada Lovelace to design the
    13·1 answer
  • Codehs dartboard 3.12.4
    9·1 answer
  • I AM GIVING BRAINLIEST!!!!!!! PLEASE HELP !!!!!!!!
    7·2 answers
  • What are some other ways to program a robot to navigate a complicated environment other than straight paths and right angle (90
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!