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
Illusion [34]
3 years ago
11

1 #include

Computers and Technology
1 answer:
Virty [35]3 years ago
6 0

Answer:

Change line 10 to:

userNumSquared = userNum * userNum;

Change line 11 to:

cout << userNumSquared<<endl;

Explanation:

Though the question is a bit lengthy but the requirements are not clearly stated. However, I'm able to pick up the following points.

  1. Print the square of the inputted number
  2. Print the squared number with a new line

To do this, we simply modify the affected lines which are lines 10 and 11.

The plus sign on line 10 will be modified to multiplication

i.e.

userNumSquared = userNum * userNum;

And line 11 will be modified to:

cout << userNumSquared<<endl;

Every other line of the program is okay and do not need to be modified

You might be interested in
Why is it important to study in a quiet well lit area
Sliva [168]

B. You can focus on your studying without distractions

Hope this Help!!!

6 0
3 years ago
Read 2 more answers
How can investors receive compounding returns
ANTONII [103]
If you’ve ever had a savings account, you likely know that a few cents in interest every month barely adds up. The goal is “compounding returns,” which simply means that the interest you earn each month earns additional interest, which then earns even more interest. But although a savings account will help with that, you may be lucky enough to be able to afford a cup of coffee every 10 years or so at that rate. Instead, it’s important to find a way to invest your money in a high-interest account that will earn compounding returns.

I hope this helps you out ;)
3 0
4 years ago
What are some good digital habits?
kkurt [141]

ANSWER

1. Turn off all the notifications.

2. Set your phone to black and white.

5 0
3 years ago
Read 2 more answers
What is the difference between an electronic notebook and electronic flash cards?
Ivenika [448]

Answer:

A) Electronic notebooks store images, videos, notes, and voice recordings in one area, while electronic flash cards are study tools with information written on both sides.

Explanation:

Just took the test

Edge 2020

7 0
4 years ago
Which components exist in the contextual tab for tables called Design? Check all that apply. Table Styles Export Table Data Prop
EastWind [94]

Answer: table styles, properties, tools, external table data, table style options

Explanation: i took the assignment

4 0
3 years ago
Read 2 more answers
Other questions:
  • Which principle of design is she following
    9·1 answer
  • A ___ is the basic collective unit of data in a computer.
    12·1 answer
  • Which key combination will allow users to move to the top of a document?
    15·1 answer
  • How come I haven't moved to the next rank even though I have all of the right things to move on?
    10·2 answers
  • Amazon Web Services and Microsoft Azure are some of the most widely used _______.
    7·1 answer
  • How to make a harmonic mean algorithm in bash Linux?
    15·1 answer
  • What is the answer 11100+01010​
    8·1 answer
  • The Uniform Electronic Transmission Act (UETA) a. declares that e-signatures are invalid. b. has only been adopted in a handful
    8·1 answer
  • The term ________ refers to the use of a single unifying device that handles media, Internet, entertainment, and phone needs. Gr
    8·1 answer
  • What service determines which resources a user can access along with the operations that a user can perform?.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!