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
Aleks [24]
3 years ago
12

Write a program that assigns a value the value of 50000 to an integer variable x, assigns the value of x*x to an integer variabl

e y, and then prints out the value of y.
Computers and Technology
1 answer:
Allushta [10]3 years ago
7 0

Answer:

Explanation:

The following code is written in Java and does exactly what the question asks. The variables are long variables instead of integers because integer variables can only be a maximum of 2147483647 and the product of these two variables is much higher than that.

public static void main(String args[]) {

               long x = 50000;

               long y = x * x;

               System.out.println(y);

       }

You might be interested in
How do you represent the decimal integer 50 in binary?
Colt1911 [192]
The answer is 110010 because the decimal number 50 can be expressed as 32 + 16 + 2.
3 0
3 years ago
Define Indentation
weqwewe [10]
B. Distance between page margin and edges of page.
4 0
3 years ago
Bob has been assigned to set up a digital certificate solution for use with e-mail. One of the requirements he has been given is
FrozenT [24]

Answer:

B : X.509

Explanation:

4 0
3 years ago
Please help will give brainliest
ludmilkaskok [199]

Answer:

waterfall- google search

Explanation:

5 0
3 years ago
How are computers used in education and entertainment? List them.​
Sliva [168]

Answer:

The answer to this question is given below in this explanation section.

Explanation:

              "computers used in education and entertainment"

Computers started as very and simplistic machines data.Most of these files were text-based reports used in a work environment.As technology advanced,computer became increasingly versatile in what they could do.With the creation of the internet and faster processors,file sharing and entertainment became a popular use for personal computer everywhere.Computer have endless users in the entertainment industry by directly marketing products to users.

  • Music
  • Television and movies
  • Art
  • Games

Many websites services allow users to purchase individual tracks or albums directly to their computer.Most record labels take advantage of these services to makeup for lost revenue from illegal downloading.

When the advantages of video card and internet speed,moving and streaming television are now at the click of a mouse button.Some websites even offer free streaming episodes of certain TV series with internet commercials.

Art is something that is readily available online at any moment. Pictures,Painting,Poetry and more are just a click away.Popular browsers offer specific image search option to quickly browse through art with a single keyword.Beside general use,computer photo editing programs and animation programs are also the sources behind most movies and professional photographs.

6 0
3 years ago
Other questions:
  • Can someone fix this so that it only says "its a payday" on 15 and 30 and on all other days "sorry, it's not payday"
    9·1 answer
  • . Does Zuckerberg believe in the thought that “the endpoint is when you sell the
    15·1 answer
  • Emilio is reviewing the data he collected from historical records about immigration in the united states. He decides to create a
    5·1 answer
  • For each of the following polynomials, apply either the Muller's method or the Bairstow's method to find all real or complex roo
    15·1 answer
  • If you're looking to install Gigabit Ethernet, what cabling system would you use?
    9·1 answer
  • Access control lists (ACLs) are used to permit and deny traffic in an IP router.
    14·1 answer
  • Some in the security community argue that a lack of diversity is security vulnerability. For example, Firefox and Internet Explo
    6·1 answer
  • Word processing software, spreadsheet software, database software, and presentation software are examples of what category of co
    13·1 answer
  • Write a program that prompts the user to enter three cities and displays them in ascending order. Here is a sample run: Enter th
    8·1 answer
  • Please help me solve am wai...​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!