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
irakobra [83]
2 years ago
9

Write a program that uses an "if" statement to determine if the number is greater than one. If the number is greater than 1, the

program calculates the square and cube of the number and displays the output to the user.
Computers and Technology
1 answer:
Vsevolod [243]2 years ago
7 0

Answer:

if(i>1)

{

Console.WriteLine(i*i);

Console.WriteLine(i*i*i);

}

Explanation:

This is written in C#, and it's probably not as clean as it could be. I'm not sure what language you wanted it in, so I just picked the one I'm most familiar with.

You might be interested in
Q1) write a brief note on desktop computer.
morpeh [17]

Answer:

→A desktop computer is designed mainly as a single user computer to solve the tasks of the end user.

→ A laptop is a personal computer with a touchpad used to move a cursor on the screen.

Explanation:

.

6 0
2 years ago
A user notices that a mobile device is draining power faster than is normal. What are three causes of quick battery drain? (Choo
Svet_ta [14]

Answer:

Option (a), (d) and (e) is the correct option to the following question.

Explanation:

Because most of the application is that type which consuming a lot of power because of their features and the functionality and also these applications have large in size. The mobile phones also consume power when the brightness of the mobile is set at a high level and also when its VPN is connected or connected through the WIFI.

3 0
3 years ago
_____ allows you to use the internet for making phone calls instead of leasing traditional telephone lines from the phone compan
TEA [102]
Using a browser would help in doing that.
3 0
2 years ago
What do you find when you first open a word processor and how do you adjust the document Indentitions
Ilia_Sergeevich [38]

When you first open a word processor document you will find a document with the default indents and margins.

In order to adjust the document indentations the easiest way to do this is to place the cursor where you want the indent to be and then adjust the indent arrow on the ruler at the top of the document to the appropriate value.

7 0
2 years ago
What will you better be prepared for by learning about the animals you photograph
krek1111 [17]

D. All of the above.

Makes the most sense! :3

6 0
2 years ago
Other questions:
  • You're trying to decide which disk technology to use on your new server. the server will be in heavy use around the clock every
    10·1 answer
  • Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per l
    6·1 answer
  • Soo...My Old 3DS XL haven't been touched in around a year...So i tried to charge it but no LED lights opened..Even the power but
    14·1 answer
  • .A menu within a menu is called what? (nested menu ,submenu ,recursive menu ,formal list )
    12·1 answer
  • Sarah's Texas location has a server that is starting to give her trouble. It is needing to be restarted frequently and seems to
    15·1 answer
  • What are the different Stape of data processing cycle?​
    8·1 answer
  • 72. In Object Oriented Programming, a class_____ starts
    12·1 answer
  • Help me pls...
    7·2 answers
  • * what is an electronic mail ?
    13·1 answer
  • which of the following is the most appropriate way to write css style for the font family property in html
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!