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
Ivanshal [37]
4 years ago
5

Write a program that accepts a whole number as input, multiplies that number by 12, and then outputs the product

Computers and Technology
2 answers:
geniusboy [140]4 years ago
7 0

Answer:

num = int(input("Enter a number: "))

print (num * 8)

Explanation:

kenny6666 [7]4 years ago
5 0

The program accepts a whole number as input, multiplies that number by 12, and then outputs the product

Explanation:

This program asks user to enter two integer numbers and displays the product.

The scanner class is used as input functions.

The code is shown below :  

import java.util.Scanner;

public class Demo {

public static void main(String[] args) {

Scanner scan = new Scanner(System.in);

System.out.print("Enter number: ");

int num1 = scan.nextInt();

scan.close();

int product = num1*12;

System.out.println("Output: "+product);

   }

}

You might be interested in
The main components of a computer ar a hardware and software b) disc and monitor c) system and unit d) communication devices. ​
yulyashka [42]
Option A is the main component
3 0
2 years ago
What does angularfirestoremodule. Enablepersistence() do.
prisoha [69]

What is the question

there is nothing clear stated here

3 0
2 years ago
How is a non-disclosure agreement an important tool for businesses?
Sloan [31]

Answer:

D

Explanation:

4 0
3 years ago
Read 2 more answers
Please answer the following will mark brainiest except the first 3 rest all
ollegr [7]

Answer:

1) Standalone machine

2) Local

3) Either Wide area network(WAN) or a web

Done your first 3

6 0
3 years ago
When you enforce restrictions, what must you do immediately?
sweet [91]
The answer is A create a password
4 0
3 years ago
Read 2 more answers
Other questions:
  • A company is experiencing overwhelming visits to a main web server. The IT department is developing a plan to add a couple more
    5·2 answers
  • You are reluctant to write an extra credit book report because you are afraid that your language and punctuation skills are not
    11·1 answer
  • The component in a disk brake unit acts as a return spring and allows the pad to move a ay from the rotor is the
    6·1 answer
  • Which of the following do you need to remeber about true/false questions?
    12·1 answer
  • Question 3 of 10
    13·1 answer
  • You are building a network and need to connect five computers in an office. They will be on the same network segment and you sho
    5·1 answer
  • ) The order of messages on a sequence diagram goes from _____. (Points : 6)
    8·1 answer
  • Assignment 1: silly sentences edhesive
    7·1 answer
  • Which category does this fall in identity theft​
    6·1 answer
  • How do I create a simple percentage function to gather a score for a quiz in PHP?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!