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]
3 years ago
7

Write a complete program that declares an integer variable

Computers and Technology
1 answer:
Fed [463]3 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
Instructions:Emotet is an advanced banking Trojan that primarily functions as a downloader of other Trojans. According to the Sy
Nastasia [14]
I do not understand what you’re question is
3 0
3 years ago
Read 2 more answers
Which topology connects multiple star-topology networks using a bus topology?
Oliga [24]

Answer:

Mesh

Explanation:

Hope it will help

<h2><em>p</em><em>l</em><em>e</em><em>a</em><em>s</em><em>e</em><em> </em><em>m</em><em>a</em><em>r</em><em>k</em><em> </em><em>a</em><em>s</em><em> </em><em>a</em><em> </em><em>b</em><em>r</em><em>a</em><em>i</em><em>n</em><em>l</em><em>i</em><em>s</em><em>t</em><em>s</em></h2>
3 0
3 years ago
Compare and contrast the advantages and disadvantages of a LAN to a WLAN.
12345 [234]

Answer:

A LAN (local area network) is a group of computers and network devices connected together, usually within the same building. ... A WAN connects several LANs, and may be limited to an enterprise (a corporation or an organization) or accessible to the public. The technology is high speed and relatively expensive.

LAN stands for Local Area Network. WLAN stands for Wireless Local Area Network. ... WLAN connections are completely wireless. LAN network is a collection of computers or other such network devices in a particular location that are connected together by communication elements or network elements.

Easy and Cheap Communication: Data and messages can easily be shared with the other computer connected to the network. Centralized Data: The data of all network users can be stored on a hard disk of the central/server computer. This help users to use any computer in a network to access the required data.

Explanation:

<em>I </em><em>don't</em><em> know</em><em> if</em><em> </em><em>it's</em><em> </em><em>correct</em><em>,</em>

<em>so </em><em>hope </em><em>it </em><em>helps</em>

4 0
3 years ago
How to creatte a react app without a git hub repository
Sunny_sXe [5.5K]

Answer:

You needn't be on Github. You just need to have the software, like visual code installed on your computer.

If you've got all these things sorted, then you'll be able to make apps without github.

6 0
3 years ago
A business letter is not written:
Andreas93 [3]

Answer: the answer is b

Explanation:Bc why would they make a business letter 2 someone else

5 0
3 years ago
Other questions:
  • Digital art is created by using
    6·1 answer
  • In Word, a red wavy underline indicates a/an
    15·1 answer
  • If object B inherits from object A, then which of the following statements is true?
    15·1 answer
  • In this program we are going to practice using the Math class by computing some important values on the unit circle. Using the a
    5·1 answer
  • Write a program that multiplies two hard-coded numbers, then prints the individual numbers out and prints their product out, all
    10·1 answer
  • Update thejavafile names to include your initials at the end, send .java file only.1. Completein-place heapSort, which takes an
    11·1 answer
  • What is one reason that many older PC games, when run on modern hardware, will run at high speeds? Include discussions of frame
    15·1 answer
  • What stage of the development process is often called the pre-alpha phase and is the "meat" of the design process where features
    5·1 answer
  • Mi amiga es una chica y es soltera y quiere novia, a cualquiera le interesa?
    11·1 answer
  • What symbol do we use to assign a value to a variable or constant in algorithms?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!