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
oksian1 [2.3K]
3 years ago
12

Write a complete program to read two integers and display the number of integers that lie between them, including the integers t

hemselves. for example, four integers are between 3 and 6: 3, 4, 5, and 6.
Computers and Technology
1 answer:
Lyrx [107]3 years ago
6 0
#python:
min=input ("Gimmie an integer: ")
max=input ("Gimmie another integer: ")

for c in range(int(min), int(max) + 1):
    print (c, "", end="")
#in: 1 3
#out: 1 2 3
#I don't know pascal
// java
import java.util.Scanner;
class Program {
    public static void main ( String args[]) {
        Scanner input = new Scanner (System.in);
        int min = input.nextInt();
        int max = input.nextInt();
        
        for ( min, min <= max; min++) {
            System.out.print(min + " ");
        }
}// c++:
import <iostream>
int main() {
    for ( min, min <= max; min++) {
            cout<<min<<" "

        }
    return 0;
}
// ... I got bored
You might be interested in
Which would be the best and worst answer choices?
jeyben [28]

Answer:

option 3

Explanation:

4 0
3 years ago
_____ is an example of a Google filetype operator.​
shtirl [24]

Answer:

d. all of the above

Explanation:

Google filetype operator enables restricting the search results to the specified file type. For example if you are searching for Eiffel Tower and you want to restrict the results to pdf files then the query will be of the form Eiffel Tower filetype:pdf . Similarly for text file results you need to specify the search query as Eiffel Tower filetype:text. The Google filetype operator supports several different file types.

3 0
3 years ago
What are Mauchly and Eckert’s main contribution to the development of the computer?
velikii [3]

Answer:

Though the ENIAC patent was invalidated by the U.S. District Court in Minnesota, Eckert and Mauchly have nonetheless been credited by history with inventing the ENIAC, the world's first large-scale general purpose electronic computer

Explanation:

7 0
3 years ago
Validating the users claimed identity is called which of the following?A. AuthenticationB. IdentificationC. VerificationD. Valid
soldier1979 [14.2K]

Answer:Authentication

Explanation:

3 0
3 years ago
Rania has a long document and would like to create markers in the document that allow a reader to quickly jump to different loca
bazaltina [42]
Answer : Bookmarks

Reason : Bookmarks will allow the user to skip everything and go to a certain place.
7 0
3 years ago
Other questions:
  • P**nhub or x-videos or other
    9·1 answer
  • What is the purpose of the overload keyword in the ip nat inside source list 1 pool nat_pool overload command?
    8·1 answer
  • The process of converting information from a form/questionnaire is referred to as data preparation. This process follows a four-
    10·1 answer
  • What is the output of intb= 4+ 6 /2 Systemoutprintln (b)
    5·1 answer
  • true of false one reason to move to a paperless society is that printers are becoming prohibitively expensive
    13·1 answer
  • What happens when a flash memory card is installed in a slot and it is recognized by windows?
    6·1 answer
  • Write a program that would determine the day number in a non-leap year. For example, in a non-leap year, the day number for Dec
    5·1 answer
  • ANSWER QUICKLY!!! <br><br> Which aspect of planning is a preventive action?
    15·1 answer
  • Who designed the Analytical Engine in the 1830s? Alan Turing Alan Turing Charles Babbage Charles Babbage Bill Gates Bill Gates S
    12·1 answer
  • Discovery of a vulnerability in a software program can potentially be sold to the government. Group of answer choices True False
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!