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
Alina [70]
3 years ago
6

Ask the user to input a number less than 100. Print all the numbers from that number to 100.

Computers and Technology
2 answers:
Ber [7]3 years ago
8 0

Answer:

The second one:

num = int (input("Enter a number between 1 and 100: "))

c = num

while (c <= 100):

print (c)

c = c + 1

Explanation:

First of all, you don't know Python... (LEARN IT)

Second of all, The first loop doesn't make sense? num 100

And the second one works, you can try compiling it (lazy to explain...).

gtnhenbr [62]3 years ago
5 0

Answer:

num = int (input("Enter a number between 1 and 100: "))

c = num  

while (c <= 100):

  print (c)

  c = c + 1

Explanation:

You might be interested in
When a client PC is booted, it broadcasts a __________________________ message over the network to locate DHCP servers on the sa
lys-0071 [83]

When a client PC is booted, it broadcasts a Dhcpdiscover message over the network to locate DHCP servers on the same subnet.

<h3>What is a Dhcpdiscover message?</h3>

The Dhcpdiscover message is known too be a message that has a kind of an identifier that is specific  to a client (such as the MAC address).

This message is one that also has some other requests, such as:

  • Requested options e.g  subnet mask, domain name server, etc.

Note that if client PC is booted, it shares a Dhcpdiscover message over the network to locate DHCP servers on the same subnet.

Learn more about network from

brainly.com/question/1167985

6 0
2 years ago
Which actions can be performed on tables in Word? Check all that apply.
tigry1 [53]
✓ adding rows
✓ adding columns
✓ deleting rows
✓ deleting columns
✓ changing column width
✓ aligning tables
✓ converting tables to text
✓ converting tables to graphs

Believe it or not, all of these actions are possible in MS Word.
3 0
4 years ago
Read 2 more answers
Which symbol shows an input?
LenaWriter [7]

Answer:

Document symbol

Explanation:

This symbol is shaped like a rectangle with its bottom side in a wave, and it is used to represent the input or output of a document. For instance, this symbol might be used to outline a document input, such as receiving an email or report.

hope it helps

mark me brainliest pls

8 0
2 years ago
Cookies Are Us runs a series of 100 cookie stores across the Midwestern United States and central Canada. At the end of each day
ivanzaharov [21]

Answer:

As we can see that there are limited application requirements in this case, an ordinary broadband would be enough for the file transfer of daily information to the headquarter. If broadband is not available, dial up internet would do the job.

In my opinion Star Architecture could be another option to use in such situations. Start architecture has a dedicated circuit and it has the capability to route all messages from a central location in a network to client computers.

Explanation:

6 0
4 years ago
Given two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a Vend
Zanzabum

Answer:

import java.util.Scanner;

class Main {

 public static void main (String args[])

 {

   Scanner input = new Scanner(System.in);

   VendingMachine machine = new VendingMachine(20);

   System.out.print("Enter nr to purchase: ");

   int nrPurchased = input.nextInt();

   System.out.print("Enter nr to re-stock: ");

   int nrRestock = input.nextInt();

   machine.Transaction(nrPurchased, nrRestock);

   input.close();

 }

}

class VendingMachine {

 private int inventory;

 public VendingMachine(int initialInventory) {

   inventory = initialInventory;

 }

 public void Transaction(int nrToBuy, int nrToRestock) {

   inventory += nrToRestock - nrToBuy;

   System.out.printf("Inventory: %d bottles.\n", inventory);

 }

}

7 0
3 years ago
Other questions:
  • Which of the following would you click to access Help and Support?
    6·2 answers
  • Which error produces incorrect results but does not prevent the program from running?
    7·1 answer
  • The area on your screen where you can access the tab and menu options for word is called what?
    8·2 answers
  • What is institutional advertising focused on promoting?
    8·1 answer
  • Two of the following tasks would most likely be completed by a biomedical engineer?
    7·1 answer
  • Animations<br> Animations are !<br> Blank which can be Applied to blank in a presentation?
    7·1 answer
  • Enter the word that belongs in the blank:
    13·1 answer
  • PLEASE HELP ASAPP!!
    7·1 answer
  • Choose the statement that is true please help me fast like right now
    12·1 answer
  • Will give BRAINLIEST, PLEASE HELP, WILL BE MUCH APPRECIATED
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!