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
nikitadnepr [17]
3 years ago
10

C++ what is wrong with my equation?

Computers and Technology
1 answer:
Yakvenalex [24]3 years ago
7 0

This (simplified) piece of code seems to work:

int OriginalNum;

int AnswerNum;

cout << "Insert your number: ";

cin >> OriginalNum;

AnswerNum = 201*OriginalNum;

cout << "The answer is:";

cout << AnswerNum;

If I copy what visible in your screen, the compiler complains about the variable OriginalNum not being declared. Try to paste my code and see if you have any issue.

Note: the expression OriginalNum*2*100 + OriginalNum is simply a multiplication by 201!

In fact, you have

x\mapsto 2x \mapsto 2x\cdot 100 = 200x \mapsto 200x+x = 201x

You might be interested in
What browser is included with windows?
alexandr402 [8]
Internet Explorer and the its version is dependent on the version of windows you are using.
7 0
4 years ago
An I/O-bound process ___________________________________________________ Select one: a. does not need CPU time b. spends less of
DiKsa [7]

Answer:

Spends more of its time seeking I/O operations than doing computational work.

Explanation:

The I/O bound process are depend on Input and output speed. on the other hand computational work is associated with CPU bound processes. Therefore option "C" is better option for I/O bound processes.

8 0
4 years ago
Microsoft Windows is automatically launched when you turn on your computer
serious [3.7K]
True. Microsoft Windows is automatically launches when you turn on your computer.
8 0
4 years ago
Please answer quick! Screenshot included
grigory [225]
The answer is B because of the css is a non smoking area and that cause of smoking kills
5 0
3 years ago
Which action will help you protect data in your computer in case of an earthquake?
Len [333]

Answer:

Explanation: 13

8 0
3 years ago
Read 2 more answers
Other questions:
  • Open a command prompt on PC1. Issue the command to display the IPv6 settings. Based on the output, would you expect PC1 to be ab
    7·1 answer
  • 6:57 47minutes before
    15·2 answers
  • Which of these is an aggregator?
    5·2 answers
  • Select the correct answer.
    6·2 answers
  • Create a program in c/c++ which accepts user input of a decimal number in the range of 1 -100. Each binary bit of this number wi
    9·1 answer
  • When more open-ended questions are asked in a study group, discussions are more likely to
    14·2 answers
  • Write a static method that takes a String and returns an integer. Return the number of characters in the passed in, String param
    6·1 answer
  • Help with Java, please!
    5·1 answer
  • When creating a storyboard, in which section do you mention how you move from one shot to the next?
    8·1 answer
  • How to give answer like this?????
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!