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
monitta
3 years ago
14

Convert the given for loop to while loop and find the output of the program assuming the

Computers and Technology
1 answer:
Kruka [31]3 years ago
6 0

Answer:

Explanation:

num = int (input ("Enter a value"))

sum =0

count=0

i = 1

while i < num:

 if i%2 == 0:

        count += 1

        sum += i

        i += 1

 i += 1

print(sum)

print(count)

The output assuming num is 15 would be

56

7

You might be interested in
question 5 you need to find the internet protocol (ip) address for a website. which command do you use on a windows system?
xz_007 [3.2K]

To find the internet protocol (ip) address for a website, the command that will be used is nslookup. The correct option is B.

<h3>What is nslookup?</h3>

A "network administration command line" program known as nslookup is used to learn about the Domain Name System (DNS) and to obtain the records for various domain names. It is mainly employed for DNS Server troubleshooting. Through domain names, we can access information on the Internet.

In the center of the Domain Name System are these names. Internet Protocol addresses are used by web browsers on the Internet to communicate with one another.

Therefore, the correct option is B, nslookup.

To learn more about nslookup, refer to the link:

brainly.com/question/14286524

#SPJ1

The question is incomplete. Your most probably complete question is given below:

A) Ipconfig B) Nslookup C) Ping D) Tracert

6 0
1 year ago
There are many different types of decision-making. Which of the following is NOT a type of decision-making? a. fiat rule b. sing
Murljashka [212]

Answer:

These are all correct but if you want to get technical I would choose A, because fiat rule is used in the military without any consent from any political standpoint.

Explanation:

8 0
3 years ago
Read 2 more answers
What is logical memory?
Eva8 [605]
Logical memory is the address space, assigned to a logical partition, that the operating system perceives as its main storage.
6 0
3 years ago
Select all that apply.
Molodets [167]

The Big Five Factor: neuroticism, extraversion, openness, and conscientiousness.

3 0
3 years ago
Research the topic of legal and ethical behaviors or dilemmas related to technology. Identify five topics of concern and briefly
max2010maxim [7]

Answer:

if you push alt and f4 at the same time it will automatically put the right answer.

Explanation:

7 0
3 years ago
Other questions:
  • According to the partnership for 21st-century learning critical thinking ability includes all the following skills except
    15·1 answer
  • Assume that processor refers to an object that provides a void method named process that takes no arguments. As it happens, the
    5·1 answer
  • If you filmed a clip in 120fps, how many frames are in a seconds of video.
    13·1 answer
  • From the following list choose all the tasks an operating system performs.
    5·2 answers
  • Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.
    8·1 answer
  • (You don’t have to answer it’s just for you for points. Here is you’re riddle)
    9·2 answers
  • Suppose the fixed width of an aside element in a fixed layout is 300 pixels, and the fixed width of its parent element (body) is
    15·1 answer
  • Ian kno da answer tell me
    7·2 answers
  • The impact of the destruction of train station on the budget of the minister of finance
    5·1 answer
  • You have been on the phone with a user in a remote office for 30 minutes troubleshooting their minor desktop problem. No matter
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!