1.- Make a program that loops and perform powers of 5 on each loop.
In each lap the operator is asked IF YOU WISH TO CONTINUE (1 or 0) if the operator enters a zero it will no longer continue to spin. IN CODE C++

Answers

Answer 1

A program that loops and performs powers of 5 on each loop.In each lap the operator is asked IN CODE C++ the C++ Program for the given hassle announcement is as follows:#include the use of namespace std.

What is the energy of a variety of?

The energy of a variety of says how usually to apply the range in a multiplication. Powers also are known as Exponents or Indices. For example, eight^2 might be known as “eight to the energy 2” or “eight to the second one energy”, or simply “eight square.

C++ Program for the given hassle announcement is as follows:#include the use of namespace std;int main() > base;cout << "nEnter the exponent: ";     //asks the user for keyboard input for exponent cin>>exponent;  for (int i = 1; i <=exponent; i++)    //iterate {through|thru|via">via 1 until exponent {       num=num*base; //base is multiplied (e.g. 2*2*2.....n) until n, wherein n is exponent    } cout <<"n"<strength of "<go back 0;}Sample Output:Stdin Inputs

Read more about the loops :

https://brainly.com/question/26497128

#SPJ1


Related Questions

work done by computer as per the instructions is called​

Answers

Answer:

The process of storing and then performing the instructions is called “running,” or “executing,” a program. By contrast, software programs and procedures that are permanently stored in a computer's memory using a read-only (ROM) technology are called firmware, or “hard software.”

Explanation:

hope it helps you and give me a brainliest

Answer: A computer obeying its orders

Explanation:

The process of storing and then performing the instructions is called “running,” or “executing,” a program. By contrast, software programs and procedures that are permanently stored in a computer's memory using a read-only (ROM) technology are called firmware, or “hard software.”

➪ How many types of Engineering are there in the world ?
⛄​​

Answers

Answer:

in bohot terms engineering can be divided into four main categories chemical civil electrical and mechanical enginearing each of these types of require different skills and engineer education

There are mainly five types of engineers found in the world. Each of them has a different set of skills and knowledge concerning their relative field.

Who is called an Engineer?

An Engineer may be defined as an individual who formats, designs, modifies, and creates machinery or technical equipment like software programs, construction buildings, bridges, etc.

The five types of Engineers are as follows:

Civil Engineers. Chemical Engineers.Electrical Engineers. Mechanical Engineers. Computer Engineers.

Civil engineers deal with the construction of buildings, bridges dams, airports, etc. Chemical engineers are associated with developing the products such as medicines, petrochemicals, plastics, etc.

Electrical engineers design and develop the manufacturing of electrical equipment like navigation systems, radar, communication systems, electric motors, etc.

Mechanical engineers always maintain their focus on manufacturing power-producing and power-using machines like electric generators, gas turbines, refrigerators, air-conditioners, etc.

Computer engineers deal with designing, manufacturing, and examining all software operated within an institution's computer system.

All such types of engineers work in their respective fields for designing, and manufacturing products and their delivery which makes the life of an individual easy, efficient, and reliable.

Therefore, it is well described above.

To learn more about Engineers, refer to the link:

https://brainly.com/question/17169621

#SPJ1

Which statement is true about the energy of electromagnetic radiation?

A.
The frequency of the emitted radiation is inversely proportional to its energy.
B.
The frequency of the emitted radiation is directly proportional to its energy.
C.
The wavelength of the emitted radiation is directly proportional to its energy.
D.
The amplitude of the emitted radiation is inversely proportional to its energy.

Answers

Answer:

b

Explanation:

b

what was the first computer system that used color display?

Answers

Answer:

Year Event

1977 The Apple II, released in June 1977, allowed for colour display on a             CRT monitor.

Explanation:

Suppose that you have the following definitions:
struct time Type
struct tourType
{
int hr;
double min;
int sec;
string cityName;
int distance;
timeType travelTime;
};
};
a. Declare a variable destination of type tourType.
b. Write C++ statements to store the following data in destination: cityName - Chicago, distance -- 550
miles, travelTime - 9 hours and 30 minutes.
c. Write the definition of a function to output the data stored in a variable of type tourType.
d. Write the definition of a value-returning function tat inputs data into a variable of type tourType.
e. Write the definition of a void function with a reference parameter of type tourType to input data in a
variable of type to tourType

Answers

Suppose that you have the following definitions:struct time Type struct tourTypen the variable destination of type your type are tourType input(){cout<<"Enter the city, distance and time in hr and min"<>destination.city name;

What is C++ statements?

Expression statements. These statements examine an expression for its aspect outcomes or for its go-back value. Null statements. These statements may be supplied in which a declaration is needed with the aid of using the C++ syntax however in which no motion is to be taken.

#include#includethe use of namespace std;struct timeType;struct tourType;tourType destination;tourType input(){cout<<"Enter the city, distance and time in hr and min"<>destination.cityName;cin>>destination.distance;cin>>destination.travelTime.hr;cin>>destination.travelTime.min;go back destination;}void display()cityName;d.distance = t->distance;d.travelTime.hr = t->travelTime.hr;d.travelTime.min = t->travelTime.min;">int main().

Read more about the variable :

https://brainly.com/question/2804470

#SPJ1

You add a filter by condition, and set the condition to [Weight]>50. How will this affect your data? in tableau

Answers

It will only show items whose weight is over 50 is the  way it will this affect data. When the computed field is utilized in the filter, only items with a weight greater than 50 are kept.

How do the person filter by condition in Tableau?

There are five steps involved in it that are given below-

In the Filter Window, go to the 'Condition' tab.Select the 'By field' radio button.From the drop-down list, choose the name of the filtered field.Choose an aggregation type from the drop-down menu, such as Sum, Average, or Median.From the drop-down menu, select the operator.

Thus, It will only show items whose weight is over 50

For more details about person filter by condition in Tableau, click here:

https://brainly.com/question/25531734

#SPJ1

Complete the sentence about bias and equity.
There is a lack of
in the field of computer science.

Answers

Answer:

diversity

Explanation:

Complete the sentence about bias and equity.

There is a lack of  

diversity

in the field of computer science.

got it right

Answer:Below

Explanation:

Numerous engineering and scientific applications require finding solutions to a set of equations. Ex: 8x + 7y = 38 and 3x - 5y = -1 have a solution x = 3, y = 2. Given integer coefficients of two linear equations with variables x and y, use brute force to find an integer solution for x and y in the range -10 to 10.

Ex: If the input is:

8
7
38
3
-5
-1
Then the output is:

x = 3 , y = 2
Use this brute force approach:

For every value of x from -10 to 10
For every value of y from -10 to 10
Check if the current x and y satisfy both equations. If so, output the solution, and finish.
Ex: If no solution is found, output:

There is no solution
Assume the two input equations have no more than one solution.

Note: Elegant mathematical techniques exist to solve such linear equations. However, for other kinds of equations or situations, brute force can be handy.

Answers

The brute strength method determines if each x and y value satisfies both conditions. To do this, we must iterate through each result in the specified range and insert them into both models.

What are Elegant mathematical technique?

ALGORITHM :

1. Take the values of all coefficients and SET flag = FALSE

2. Run a FOR loop for x in range (-10, 11). 11 won't be included.

2a. Inside the first FOR, start the y FOR loop in range(-10,11). 11 won't be included

2b. Inside the y FOR loop, check IF for a particular value of x and y both the equations satisfied.

2c. If yes, set flag TRUE and print values of x and y.

2d. ELSE the flag stays FALSE.

END FOR Y

END FOR X

3. Check if flag = FALSE, then print NO SOLUTION

PYTHON CODE :

a=int(input()) #taking input for each coefficient

b=int(input())

c= int(input())

a1= int(input())

b1= int(input())

c1= int(input())

flag = False

for x in range(-10,11): #checking for all values of x in range -10 to 10

for y in range(-10,11): #checking for all values of x in range -10 to 10

if (a  x + b  y – c == 0) and (a1*x + b1*y - c1 == 0) : #checking if the x and y values satisfy the equation

flag = True #setting the flag if solution is found

print('Solution : x = {-10, 10}, y = {-10, 10}'.format(x,y)) #if they satisfy print x & y

if flag = False : #if flag stays false, that means there is no solution

print('No solution')

OUTPUT : The output is given below.

More about the Elegant mathematical technique link is given below.

https://brainly.com/question/27934739

#SPJ1

program that initialises a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading”.

Answers

A program that initializes a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading” are the usage of namespace std;int main().

What is a vector software program?

Vector images software program permits customers to layout and manages pc photos the usage of geometric and mathematical commands, instead of clicks and strokes as utilized in drawing software program. Vector photos created the usage of those applications may be scaled indefinitely with out dropping quality.

#include #include #include the usage of namespace std;int main(); vector::iterator it; for (it = vs.begin(); it != vs.end(); it++) string tmp; while (cin.get()!='n') for (it = vs.begin(); it != vs.end(); it++) }

Read more about the vector :

https://brainly.com/question/25705666

#SPJ1

Question 7 * What is the default powerpoint standard layout A Blank B Title slide C Title only D. Comparison ​

Answers

Answer:

B. Title slide layout is the default PowerPoint standard layout.

When evaluating an OR operator, what is necessary for execution.
A. Only one condition can be true
B. One condition must be true
C. Both conditions must be true

Answers

Answer:

B

Explanation:

Write short notes on the following:
I. keyboard ii.Control unit iii.printer​

Answers

Answer:

- the Keyboard:

The keyboard is a handheld device used to input alphabet, numbers, symbols and characters to a monitor. It also houses the special manipulative and function keys.

- the Control Unit:

The control unit is a component of the CPU which directs the operation of the processor.

- the Printer:

The printer is an external hardware output device which takes electronic data stored on a device and creates a hard copy.

If 294.00 units are made and demand is 287.00. Your fixed expenses are $1257.00. Your variable cost per unit is $2.25. Your Sales price is 6.49. The variable expenses for the day is?

Answers

If the  294.00 units are made and the cost per unit is $2.25 then variable expenses for the day is $661.5.

Given that 294.00 units are made and the variable cost per unit is $2.25

We have to find variable expenses for the day.

Total variable expenses for the day are a product of the output and the variable cost per unit.

So the variable expenses = no. of output x variable cost per unit

Variable expenses = 294 x 2.25

Variable expenses = 661.5

Hence the variable expenses for the day is $661.5

Learn more about variable expenses here: https://brainly.com/question/8225307

#SPJ10

What is the result of the following code?
int x = 1;
switch(x)
{
case 1: printf( "Help" );
case 0: printf( "Me" );
break;
case 2: printf( "Hello World" );
}
A. HelpMe
B. Help
C. Help Me
D. Hello World

Answers

Answer:

B: Help

Explanation:

During the execution of this switch statement, it will print "Help" because that's the only case that matches the value of x, it will not print "Me" because that case does not match, so it will fall through that case into the break statement.

what are the effects of information systems in the management of corona ?

Answers

The effects of information systems in the above are:

It is used for Remote access and working remotely.Managing supply chain issues.What is impact of information system?

Information systems is one  that has helped to lower the number of levels in an organization by giving managers with a lot of information to monitor larger numbers of workers.

Note that The effects of information systems in the above are:

It is used for Remote access and working remotely.Managing supply chain issues.

Learn more about information systems from

https://brainly.com/question/14688347

#SPJ1

Briefly explain the importance of doing backup in systems administration and explain in detail any three methods for performing backup!?​

Answers

Answer:

Importance of backup in system administration:

Backups are crucial in system administrations for preserving continuity and protecting against specific types of hardware failures, service interruptions, and human mistakes. To aid a company in recovering from an unexpected catastrophe, backup copies make it possible to restore data to a previous point in time. To safeguard against primary data loss or corruption, it is essential to save a copies of data on a different media. When a system administrator create a backup, he makes a copy of the data that you can restore if your main data is lost. These errors may be the consequence of faulty hardware or software, corrupted data, or a human error like a targeted attack or an unintentional deletion. System backup and recovery is therefore a crucial skill for system administrators as well as the companies they work for.

Three methods for performing backup:

Disk image: A efficient method to back up not only the files and directories but also everything else on the system is by creating a disk image. If a user have a disk image, the user can restore everything, including the operating system, applications, data, and more, so the user won't have to worry about any difficulties. Placing the  disk image-containing DVD into the DVD-ROM to restore the backup. Additionally, just attach an external HDD to the computer if the user have a disk image that they made.External hard drive: The most common backup method is to use an external hard drive or even a USB flash drive. An HDD can be easily, quickly, and affordably backed up. It is effective since consumers may carry their portable backup with them wherever they go. Cloud backup: Cloud backup or Online backup has been around for a while, but not many people really utilize it. But the greatest backup technique by far is cloud backup. The user does not have to worry about hardware problems because their files are saved in the cloud and can be accessed from anywhere because the backups are automatically produced and everything is synchronized. It is one of the greatest methods to backup, especially when you consider that the contents are encrypted and stored securely.

2. Why do old video games have large pixels and images with jagged edges?
Because that was the style at the time.
Because it allowed for larger files.
Because it allowed for smaller files.
Because smaller pixels didn't exist.

Answers

Answer:

A

Explanation:

cuz yea

of
tion
TCP/IP was developed in the 1960s to enable university scientists to locate other computers on the Internet.
Select one:
O True
O False

Answers

Answer:

True

Explanation:

What is wrong with this case statement -> case 2:
A. cases must be capitalized
B. cases must use a ; and not a :
C. nothing

Answers

Answer:

C: Nothing

Explanation:

Assuming this case is acting upon a switch on an integral value, there is nothing wrong with this case header.

var x = 10;

switch (x)

{

case 2:

     Console.WriteLine("The value of 'x' is 2!");

}

Why do we need to connect computers"​

Answers

Answer:

batteries cant last connected to nothing forever probably

What’s the main purpose of a personality test?

Answers

Answer:

Which of following is not anelectroyte

Personality tests are designed to systematically elicit information about a person's motivations, preferences, interests, emotional make-up, and style of interacting with people and situations.

What is an operating system on an IBM computer?
a. GUI
b. Microsoft Windows
c. Mac OSX

Answers

Answer:

Microsoft Windows

Explanation:

The layer of the ISO/OSI responsible for source to destination delivery.

Options:
(a) transport
(b) network
(c) data-link
(d) session ​

Answers

Answer:

(b) network

Explanation:

The Network Layer is the OSI Model's third layer. It is in charge of packet transport from source to destination or host to host across various networks. The layer receives data from the transport layer, adds a header to it, and sends it to the data link layer.

What federal law requires manufacturers to put care labels on their garments and fabrics sold by the yard?

Answers

CARE LABELING RULE which requires manufacturers and importers to attach care instructions to garments.

Build python

Prompt the user for the length,width and height of a room.


Calculate the area of the floor. (length*width)


Calculate the volume of the room. (length*width*height)


Display the area and volume to the user.


Open a file named “roomdata.txt”.


Write the area and volume to the file.

Answers

Answer:

You'd have to create a "roomdata.txt" file before writing to it.

Explanation:

#Python Geometry

lenght = int(input("Enter lenght: "))

width = int(input("Enter width: "))

height = int(input("Enter height: "))

def floor_area(area);

area = 0

area = lenght * width

return area

def room_volume(vol);

vol = 0

vol = lenght * width * height

return vol

print ("Area of floor = ", floor_area, "/n Volume of room = ", room_volume)

f = open ("roomdata.text", "w")

f.write("Area of floor = ", floor_area, "/n Volume of room = ", room_volume)

f.close()

What is CPU? List its major parts.​

Answers

Answer:

The central processing unit is the brain of the computer. it is the part of the computer which performs manipulations. it is also called the microprocessor.

components of the CPU: The control unit, the arithmetic and logic unit, the register and the memory unit.

I hope you understand:-):-)

Select the items below that are a computer
Pocket Watch
Server
Calculator
Piano
Laptop
Tablet

Answers

Answer:

Laptop is the answer.. .....

A square QR code contains 40×40 tiny squares (pixels) where each tiny square represents a 0 or a 1. Calculate how many bytes of data can be stored on the QR code​

Answers

Answer:

Explanation:

QR Codes are made of multiple rows and columns. The combination of these rows and columns makes a grid of modules (squares). There can be a maximum of 177 rows and 177 columns which means the maximum possible number of modules is 31,329. With the eye, these are just small squares and mean very little, but the exact arrangement of those modules allows the QR Code to encode its data. This means that, unlike traditional barcodes which are 1 dimensional and use 1 row of lines, QR Codes use 2 dimensions which allows them to store a lot more data in the same area of space.

4.24 LAB: Exact change
Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.

Ex: If the input is:

0
or less than 0, the output is:

No change
Ex: If the input is:

45
the output is:

1 Quarter
2 Dimes

Answers

The Exact change program is an illustration of conditional statements;

Conditional statements are used to make decisions

The Exact change program

The Exact change program written in java programming language, where comments explain each action purposes

import java.util.*;

public class Money{

public static void main(String [] args){

Scanner input = new Scanner(System.in);

// Declare Variables

int amount, dollar, quarter, dime, nickel, penny;

// Prompt user for input

System.out.print("Amount: ");

amount = input.nextInt();

// Check if input is less than 1

if(amount<=0)  {

  System.out.print("No Change");  }

else  {

  // Convert amount to various coins

  dollar = amount/100;   amount = amount%100;

  quarter = amount/25;   amount = amount%25;

  dime = amount/10;   amount = amount%10;

  nickel = amount/5;   penny = amount%5;

  // Print results

  if(dollar>=1)    {

    if(dollar == 1) { System.out.print(dollar+" dollar\n");}

  else { System.out.print(dollar+" dollars\n"); }

}

if(quarter>=1){

if(quarter== 1){System.out.print(quarter+" quarter\n");}

else{System.out.print(quarter+" quarters\n");}

}

if(dime>=1){

if(dime == 1){System.out.print(dime+" dime\n");}

else{System.out.print(dime+" dimes\n");} }

if(nickel>=1){

if(nickel == 1){System.out.print(nickel+" nickel\n");}

else{System.out.print(nickel+" nickels\n");}}

if(penny>=1){

if(penny == 1) {System.out.print(penny+" penny\n");}

else { System.out.print(penny+" pennies\n"); }}}}}

Read more about conditional statements at:

https://brainly.com/question/11073037

#SPJ1

When creating an if() statement, when are curly braces required?
A. when there is only one statement line related to the test condition
B. when there are two or more statement lines related to the test condition
C. never
D. always

Answers

Answer:

B. When there are two or more statements lines related to the test condition.

Sorry if I got it wrong.

Other Questions
7. Which word has the strongest connotations?scamperedskippedranmoved Which is the most likely to be reduced?OA. Cu+OB. Zn+OC. Fe+OD. Fe2+ Part BAssume the statement is true for n=k. Prove that it must be true for n=k+1, therefore proving it true for all naturalnumbers, n.Hint: Since the total number of dots increases by n each time, prove that d (k) + (k+1)=d (k+ 1). why have 900 megahertz (mhz) industrial, scientific, and medical (ism) band wireless local area networks (wlan) lost favor in comparison to 2.4 gigahertz (ghz) and 5 ghz frequency systems? Crops such as corn alongwith plants such aspansies, marigolds, andcucumbers fall into whichof these categories ofangiosperms? Which of these is the correct order of egyptian society from highest class to lowest class? C, F are rt. 's; AB = DE; BC = EF When 50.0 g of calcium carbonate are reacted with sufficient hydrochloric acid, how many grams of calcium chloride will be produced A bacteria culture starts with 160 bacteria and grows at a rate proportional to its size. After 5 hoursthere will be 800 bacteria. Which is the best revision of sentence 4 to eliminate contradictory information? just like homework and other activities, helping to take care of a dog teaches a child about responsibility. if a child has other things to do, such as homework and other activities, taking care of a dog could be too much. homework and other activities are very important, but taking care of the family dog should be the priority. there are many ways to teach a child about responsibility besides taking care of a dog, such as homework and other activities. Please identify what type of error the following sentence includes: The production manager released new drawings that are larger, cleaner, and more bright. Proving Triangle Similarity helpppppppppppppppp edge 202230 reward thingedit: nvm i got it Which formulas could you use to find the volume of a right circularcone?OA) V = B-h where B = I-wOB) V=B-h where B=1r'OC) V=B-h where B = TrOD) V=B-h where B=1-w The federal government has enacted laws which allow you to ______.a.Apply for credit cards without revealing personal informationb.Establish a personal identity lockbox to protect your informationc.Restrict the way your personal information is shared.d.None of the above John is 36 years old now. 1/4 of his age is equal to 1/3 of sam's age. find their total age in 5 years time Which most likely describes a person with low self-esteem? Triangle AA'B'C' is the image of AABC under a dilation. Read the scenario about a formal discussion.Trina and her classmates are discussing coding. One student references a coding language that Trina is unfamiliar with, saying that she prefers it for the type of programming they are discussing. Trina responds by asking the student to explain why she likes it so that she can learn more. She asks the student how the coding language is similar to one she is already familiar with.Which statements describe what kind of listener Trina is? Select two options.Trina is a good listener because she responds by asking questions to clarify the topic being discussed.Trina is a good listener because she indicates that she is knowledgeable by sharing what she knows.Trina is a good listener because she uses prior knowledge to make connections that further her understanding.Trina is not a good listener because she interrupts the discussion to insert follow-up questions.Trina is not a good listener because she steers the topic toward a subject with which she is more familiar. Support staff in the executive office of the president includeadministrators.cabinet members.reporters.party leaders Read the excerpt from an essay about fairy tales.The Grimms fairy tales address the experiences of people who are living in difficult situations. For example, there is the story of Rapunzel. There is also the story of Hansel and Gretel, who had to escape their house in order to find food and were locked out.Which revision would best help the author support the thesis more effectively?The author should explain why Hansel and Gretel were locked out.The author should explain how Rapunzels story fits into the thesis.The author should add one more story as an example to support the thesis.The author should explain why Hansel and Gretel's situation is difficult.