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
Marina86 [1]
3 years ago
15

Write a program will print all of the leap years between 1900 and 2100, inclusive. Leap years are any year that is evenly divisi

ble by 4 BUT years that are divisible by 4 and 500 are not leap years For example: the year 1000 is evenly divisible by 4 and 500, therefore it was not a leap year g
Computers and Technology
1 answer:
MakcuM [25]3 years ago
7 0

In python 3:

year = 1900

while year != 2100:

   if year % 4 == 0 and year % 500 != 0:

       print(year)

   year += 1

You might be interested in
Can you install Ubuntu on a hard drive by porting from the folder to the HDD?
Len [333]

No you can not. It will not allow you to

8 0
3 years ago
T-1 is the simplest WAN data service provided by telecom carriers. It has a data rate of
-Dominant- [34]
1.544Mb/s  (megabits per second)
6 0
3 years ago
A(n) _____ measures the ability to juggle a variety of demands, as in a manager's job where the candidate is presented with simu
Tju [1.3M]

Answer: in-basket test

Explanation:

An in-basket test or an in-basket exercise is a test used by firms or governments in recruiting and promoting employees. During the test, job applicants receive some mails, telephone calls, documents and memos.

3 0
4 years ago
In C language
devlian [24]

Answer:

The program in C is as follows:

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

int main(){

   int dice [1000];

   int count [6]={0};

   srand(time(0));

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

       dice[i] = (rand() %(6)) + 1;

       count[dice[i]-1]++;

   }

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

       printf("%d %s %d %s",(i+1)," occurs ",count[i]," times");

       printf("\n");

   }

   return 0;

}

Explanation:

This declares an array that hold each outcome

   int dice [1000];

This declares an array that holds the count of each outcome

   int count [6]={0};

This lets the program generate different random numbers

   srand(time(0));

This loop is repeated 1000 times

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

This generates an outcome between 1 and 6 (inclusive)

       dice[i] = (rand() %(6)) + 1;

This counts the occurrence of each outcome

       count[dice[i]-1]++;    }

The following prints the occurrence of each outcome

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

       printf("%d %s %d %s",(i+1)," occurs ",count[i]," times");

       printf("\n");    }

8 0
4 years ago
By the 1990s, ______________ technology enabled one person operating a desktop computer to control most—or even all—of these fun
snow_lady [41]

Answer: D. Digital

Explanation:

By the 90s many changes were been seen in the global market where we had the digital technology glowing and the flourishing of digital devices which enabled a person to operate desktop computer and many others stuffs

one such contribution of digital technology can be seen in the field of printing machines where we had photooptical printing machines. These machines uses the energy of the photons to allow a beam of light to strike a material but as the digital age started it allowed using computer controlled lasers to photosensitize  printing drums whereby static electricity is laid on the surface of the drum. This technology enables full color press sheets possible.

8 0
4 years ago
Read 2 more answers
Other questions:
  • A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To ac
    11·2 answers
  • There is no need to schedule video calls ahead of time; they can be used the same way as
    6·1 answer
  • 7.12 LAB: Contains the character
    12·2 answers
  • Which is said to be ‘computer on a chip’ (a) Micro processors (b) Microcontrollers (c) Both (c) None of the above
    9·1 answer
  • The information included in a résumé should always relate to the job objective; if it isn’t related, it shouldn’t be included.
    6·1 answer
  • 16. What's the difference between a footnote and endnote?
    11·1 answer
  • The AND operator is a disjunction and the OR operator is a conjunction.
    15·1 answer
  • Draw
    7·1 answer
  • A company wishes to begin the process of implementing a multi-party system and is looking for other companies with similar inter
    10·1 answer
  • What is a good indicator that someone on social media is not who he or she claims to be?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!