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
TEA [102]
2 years ago
7

Write a complete program that declares an integer variable

Computers and Technology
1 answer:
Fed [463]2 years ago
3 0

Answer:

Java:

import java.util.Scanner;

public class Main {

 public static void main(String[] args) {

   Scanner sc = new Scanner(System.in);

   int number = sc.nextInt();

   System.out.println(number + " " + number*2 + " " + number**2);

 }

}

Python:

num = int(input("Number: "))

print(num+" "+num*2+" "+num**2)

C++:

#include <iostream>

int main() {

 int number;

 std::cin >> number;

 std::cout << num << " " << num*2 << " " << num**2;

 return 0;

}

You might be interested in
B. Differentiate Operation System from other software. give me 4-5 sentences pls.
borishaifa [10]

Answer:

it is a

Explanation:

i did the test

8 0
2 years ago
Read 2 more answers
You are gong to buy a computer but first you want to do some research to help you select the best model for your needs
DerKrebs [107]

Answer:

Research what kind of computer you want.

Explanation:

I don't know exactly what you are asking here but when doing research you have got to know what you want like how much ram you want, how much storage you want, what brand of computer you want, what core processor you want, and what graphics card you want. You also have to decide if you want a laptop or a full sized desk top computer.

8 0
3 years ago
Computer ethis are crime done using computer technology (true )and(false)​
aliya0001 [1]

computer ethis are crime done using computer technology (true )and(false)

answer- true

8 0
3 years ago
________ can include computer viruses, trojan horse programs, worms, exploit scripts, and toolkits
Volgvan
All threats can include computer viruses, Trojan horse program, worms, exploit scripts and toolkit.
<span />
4 0
3 years ago
You create a computer-aided design database that stores data including a list of components of an item being designed, the relat
Leviafan [203]

Answer:

The correct answer is Multi-dimensional.

Explanation:

This database is optimized for online analytical processing and data warehousing (OLAP) applications. Multidimensional databases are often created using existing relational database records. While a relational database can be accessed through a Structured Query Language (SQL) query, a multi-dimensional database allows the user to ask questions like: "How many additives were sold in Nebraska in a year?" and similar issues related to the synthesis of operations and business trends. An OLAP application that accesses data from a multidimensional database is called a MOLAP application (Multidimensional OLAP).

3 0
3 years ago
Other questions:
  • A boolean variable named rsvp an int variable named selection, where 1 represents "beef", 2 represents "chicken", 3 represents "
    14·1 answer
  • When we insert a new node into a red-black tree, we set the color of the newly inserted node n to red. observe that if we had ch
    15·1 answer
  • ______ is using material created by others without obtaining permission from the original authors.
    10·2 answers
  • A simple system is to be designed to allow for the selling of old books. There are two different types of users: buyers and sell
    6·1 answer
  • One of your co-workers has been issued a new smart card because the old one has expired. The co-worker can connect to the comput
    14·1 answer
  • When you think of computers, I want you to think:
    7·1 answer
  • Write the algorithm and draw a flowchart to display the greatest number among any two different numbers....
    5·1 answer
  • Which of the following is the best way to keep up with trends in your industry?
    8·1 answer
  • Write a program that inputs numbers and keeps a running sum. When the sum is greater than 100, output the sum as well as the cou
    13·1 answer
  • Complete the sentence.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!