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
Grace [21]
4 years ago
13

Write a Java program that accepts an integer number from the user between 20 and 100. Next, divide the number by 12 and determin

e if the remainder is even or odd.
Inputs: The program must prompt the user for an integer value between 20 and 100.
Enter an integer between 20 and 100:
Output: The program should have an output similar to this. The < and > symbols will contain the actual values entered and calculated.
The remainder of divided by 12 is , and it is .
Example of a program run: The value 35 is entered by the user
Enter an integer between 20 and 100: 35
The remainder of 35 divided by 12 is 11, and it is odd.
Computers and Technology
1 answer:
Eddi Din [679]4 years ago
4 0
Import java.util.Scanner;
class hola
{
public static void main(String[]args)
{
Scanner x=new Scanner(System.in);
int a=x.nextInt();
int b;
if(a>20&&a<100)
{
b=a%12;
if(b%2==0){
System.out.print("es par"+b);
}
else{
System.out.print("es impar"+b);
}
}
}

}
You might be interested in
Where does gateway antivirus scan for viruses
Serggg [28]
Gateway antivirus scan for viruses at the application level. Gateway antivirus allows for the checking of files for viruses by providing a web-based scanning service. It provides integrated antivirus security on the system which block the potential threat before reaching the network.
7 0
4 years ago
What is the key value proposition of Google Search campaigns?A. Appear as a text ad, a video ad, or a banner ad on one of Google
crimeas [40]

Answer:

The correct option is D: Show your ads when a customer is searching for your product or service

Explanation:

Google Search Campaigns allows for advertisement display when you run a search on Google Search. It then displays the result of the search in the search results. The key value proposition of Google Search Campaigns is "Show your ads when a customer is searching for your product or service". Google Search Campaigns are known to be a very popular online advertising form.

5 0
3 years ago
Question 1 Why should a user seek support when troubleshooting a computer problem is beyond his or her technical knowledge?​
sveticcg [70]

A user must seek support when troubleshooting a computer problem is beyond his or her technical knowledge because: <em>When the user seeks support, the computer problem is solved accordingly and further complications are avoided.</em>

Discussion:

Further computer problems may arise from a computer problem. As such, when a user finds it difficult to troubleshoot a computer problem, the user should seek support since the computer problem is beyond his or her technical knowledge

Read more on troubleshooting:

brainly.com/question/18315517

6 0
3 years ago
What makes Darth Vader's sound so sinister, menacing and evil?
olganol [36]

Answer:

The volume, special effects, and the content of the speech.

Explanation:

The volume and special effects make all video productions's tone clearer. The words that Darth Vader speaks also adds to his "bad guy" character.

3 0
4 years ago
Read 2 more answers
What is a BINARY, bits and bytes ​
Stels [109]
A bit (short for binary digit) is the smallest unit of data in a computer. A bit has a single binary value, either 0 or 1. ... Half a byte (four bits) is called a nibble. In some systems, the term octet is used for an eight-bit unit instead of byte.
4 0
4 years ago
Other questions:
  • When a chart is selected, numerous customization options can be found on which Chart Tools tabs?
    11·2 answers
  • Define the method object inc_num_kids() for PersonInfo. inc_num_kids increments the member data num_kids.Sample output for the g
    11·1 answer
  • Which tasks can be completed within the File tab?
    8·1 answer
  • Write a C program that creates two threads to run the Fibonacci and the Runner processes. Threads will indicate the start and th
    14·1 answer
  • Complex machines are defined by...
    14·2 answers
  • What component of a processor handles all logical comparisons and calculations inside the processor?
    9·1 answer
  • What word matches with this
    14·1 answer
  • What is a secondary storage medium that uses magnetic techniques to store and retrieve data on disks or tapes coated with magnet
    6·1 answer
  • You dad has given you his old digital scanner for your new computer. you plug it into the usb drive on your windows 8 computer b
    8·1 answer
  • Mention 5 types of assembly language​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!