Write a C++ program to generate the multiplication table of a number (entered by
the user) using While Loop

Answers

Answer 1

#include <iostream>

int main(int argc, char* argv[]) {

   int number, c=1; std::cin>>number;

   while(c<11) {

       std::cout << number << "x" << c << "=" << number*c << std::endl;

       c++;

   }    

   return 0;

}

Write A C++ Program To Generate The Multiplication Table Of A Number (entered Bythe User) Using While

Related Questions

Guys I should write the program in C++
Can u help me?


Write a program which reads numbers from keyboard in a loop and checks if the given number is even.
The program ends when a negative number is input.​

Answers

#include <iostream>

int main(int argc, char const* argv[]) {

   while(1) {

       std::cout << ">> "; int x; std::cin>>x;

       if(x<0) break;

       else if(x%2==0) {std::cout << "\nThis is even number.\n";}

       else std::cout << "\nThis is odd number.\n";

   }

   return 0;

}

Complete the sentence. Privacy is about having (BLANK) our personal data.
O secrecy adout
O control over
O access to​

Answers

Privacy is about having secrecy about our personal data. Hence, option A is correct.

What is secrecy about of personal data?

These data also contain genetic, biometric, and health data in addition to personal information revealing racial and ethnic origin, political beliefs, religious or ideological views, or union membership.

Any processing of personal data need to be legitimate, equitable, and open. People should understand how their personal information is collected, used, consulted, or processed in any other way, as well as how much processing is taking place or will be taking place.

Thus, option A is correct.

For more information about secrecy about of personal data, click here:

https://brainly.com/question/28234534

#SPJ1

Answer:

secrecy about

Explanation:

A typical executive information system (EIS) offers which of the following capabilities?

Answers

A capability which a typical executive information system (EIS) offers include the following: b. slice-and-dice.

What is an information system?

An information system (IS) can be defined as a collection of computer systems and Human Resources (HR) that is used by a business organization (firm or company) or manager to obtain, store, compute, and process data, as well as the dissemination of information, knowledge, and the distribution of digital products from one location to another.

Generally speaking, there are three (3) main kinds of information system (IS) that allow information to be accessed and shared internally among employees;

Executive Information System (EIS)Corporate PortalIntranet

In conclusion, drill-down, consolidation, and slice-and-dice are the three most common and typical capabilities that are being offered in an executive information system (EIS), in order to view information in a business firm from different perspectives.

Read more on information system here: brainly.com/question/24944623

#SPJ1

Complete Question:

A typical executive information system (EIS) offers which of the following capabilities? O a. video conferencing O b. slice-and-dice O c. collaboration d. messaging

A pop-up window is a small web browser window that
opens without your permission after opening a
website.
True
False

Answers

Answer:

Yes, that's true

Explanation:

Answer: Yes, this is true.

Drivers are concerned with the mileage their automobiles get. One driver has kept track of several tankfuls of gasoline by recording the miles driven and gallons used for each tankful. Develop a C# application that will input the miles driven and gallons used for each tankful. The application should calculate and display the miles per gallon obtained for each tankful and display the total combined miles per gallon obtained for all tankfuls up to this point. Additionally, the application should categorize and display the consumption rate of gasoline as follows: Low, if the total miles per gallon is greater than 30. • Normal, if the total miles per gallon is between 20 and 30. High, if the total miles per gallon is less than 20. All averaging calculations should produce floating-point results. Display the results rounded to the nearest hundredth. c# program ​

Answers

To solve this problem with the help of C++ programing language, you must know concepts like variables, data type, if-else and while loop.

Step-by-step coding for the problem:

using System;

namespace GasOfMiles

{

   public class Gas

   {

       static void Main(string[] args)

       {

           int miles; // miles for one tankful

           int gallons; // gallons for one tankful

           int totalMiles = 0; // total miles for trip

           int totalGallons = 0; // total gallons for trip

           double milesPerGallon; // miles per gallon for tankful

           double totalMilesPerGallon; // miles per gallon for trip

           // prompt user for miles and obtain the input from user

          Console.Write("Enter miles (-1 to quit): ");

           miles = Convert.ToInt32(Console.ReadLine());

           // exit if the input is -1 otherwise, proceed with the program

           while (miles != -1)

           {

               // prompt user for gallons and obtain the input from user

               Console.Write("Enter gallons: ");

               gallons = Convert.ToInt32(Console.ReadLine());

               // add gallons and miles for this tank to totals

               totalMiles += miles;

               totalGallons += gallons;

               // calculate miles per gallon for the current tank

               if (gallons != 0)

               {

                   milesPerGallon = (double)miles / gallons;

                   Console.WriteLine("MPG this tankful: {0:F}",

                      milesPerGallon);

               } // end if statement

               if (totalGallons != 0)

               {

                   // calculate miles per gallon for the total trip

                   totalMilesPerGallon = (double)totalMiles / totalGallons;

                   Console.WriteLine("Total MPG: {0:F}\n", totalMilesPerGallon);

               } // end if statement

               // prompt user for new value for miles

               Console.Write("Enter miles (-1 to quit): ");

               miles = Convert.ToInt32(Console.ReadLine());

           } // end while loop  

           Console.ReadKey();

       }

   }

}

To learn more about C++ Programming, visit: https://brainly.com/question/13441075

#SPJ9

If you position the key next to the subject so it shines from the side what type of effect will you create

Answers

Answer:

side lighting because it will reflect light to the side of the subject

which of the following can be considered both a secondary source and tertiary
source

Answers

The option that can be considered both a secondary source and tertiary source is option D: dictionaries.

Are secondary and tertiary similar?

The term secondary  source' is another term for secondary  information. Any information that takes place after secondary  source is referred to as tertiary source.

Therefore, Note that Secondary sources explain, interpret, or analyze data from primary sources (often primary sources). Numerous books, textbooks, and academic review articles are examples of secondary sources. Secondary sources are compiled and largely summarized in tertiary sources.

Learn more about secondary source from

https://brainly.com/question/896456

#SPJ1

Letters,

diaries,

artifacts,

dictionaries

conditional_snakes.py - snake_input = int

Answers

Following is the code for conditional snakes:

input = int(input(" Count the number of snakes>"))

if input == 0:

print("There are no snakes !")

elif input == 1:

print("There is  [input] snake and it is fine")

elif input > 1:

print("There are [input] snakes! RUN!")

else:

print ("Snakes cant be negative enter 0 or positive number of snakes")

What is a conditional statement?

A conditional statement is used in your program to deal with conditions, as its name suggests. In making decisions based on the circumstances it encounters, the program is guided by these statements. You should be familiar with Python's three main conditional statements: statement if, else, else if

Hence above program is the conditional snake program in python

To know more about conditional statements follow this link

https://brainly.com/question/27021213

#SPJ1

an object's _____ are the tasks or functions that the object performs when it receives a command to do so.

Answers

Answer:

an object's methods are the tasks or functions that the object performs when it receives a command to do so

Answer: C. Methods

Explanation:

Question #4
Fill in the Blank
Fill in the blank to complete the sentence.
the users site.
is used to store and process data



over the Internet using computers that are not located at
The users site.

Answers

Answer:

cloud computing

Explanation:

Processing devices are the components responsible for the processing of information within the computer system. This includes devices such as the CPU, memory and motherboard. Storage devices are components which allow data to be stored within a computer system.

Programming paradigms

Answers

A paradigm is a strategy for tackling a challenge or completing a task. Programming paradigms are ways to solve problems using a programming languages, or you could say they are ways to use tools and techniques that are already at our disposal to solve problems in a certain way.

What is a Programming Paradigm?

Programming paradigms are various organizational structures that can be used with a particular program or programming language. Each paradigm has a unique set of structures, attributes, and ideas about how to approach typical programming issues.

The reason why there are numerous programming paradigms is comparable to the reason there are numerous programming languages. It makes sense to use different paradigms for various projects because different paradigms are better suited for various types of problems.

What a Programming Paradigm is Not?

Languages and tools are not what programming paradigms are. With a paradigm, nothing can be "built." They resemble a set of ideals and principles that have been accepted, followed, and developed upon by numerous individuals.

To know more about Prograaming Paradigm, visit: https://brainly.com/question/28736751

#SPJ9

Consider a logic function with three inputs A,B, and C, and three outputs D, E, and F. The function is defined as follows:
D is TRUE if at least one input is TRUE, E is TRUE if exactly two inputs are TRUE, and F is TRUE only if all three inputs are TRUE. Design the logic circuit for the function.

Answers

The truth table will contain 2^3 = 8 entries. The image of truth table is attached below. The function will be defined on D is TRUE if at least one input is TRUE, E is TRUE if exactly two inputs are TRUE, and F is TRUE only if all three inputs are TRUE.

What is a Logic Circuit?

Computers frequently chain logic gates together by using the output of one gate as the input to another. That is referred to as a logic circuit.

Circuits allow computers to perform more complex operations than they could with a single gate.

A chain of two logic gates is the smallest circuit.

What is a Logic gate?

Logic gates are the fundamental components of any digital system. It is an electronic circuit with one or more inputs and one output. A logic governs the relationship between the input and the output. Based on this, logic gates are labeled as AND gates, OR gates, NOT gates, and so on.

To learn more about Logic Circuit, visit: https://brainly.com/question/26661878

#SPJ9

For each step in the assignment, make changes to this spreadsheet as described in each step.
1. In the cell below, write three operators and the type of calculation each represents:
2. In the cell below, write the symbol a formula starts with:
3. In cell D16, write the formula =10+5 and hit Enter.
4. In cell D19, write a formula that contains the difference between cells D18 and E18.
5. In cell D22, change the order of operations for the formula so that 3-4 is calculated first.
6. In cell D25, insert an image of any animal.
7. In the cell below, write two ways to open the Save As dialog box to save a brand-new file:
8. In the cell below, write the keyboard shortcut for copying text:
9. In the cell below, write what happens to the pointer to indicate you can drag data:
10. In the cell below, write what key to hold when dragging data in order to copy it:
40 11. Move the data from cells D40:G40 to cells D41:G41.
12. In the cell below, write the number of items that can be stored on the Office Clipboard:

Answers

The answer of the following spreadsheet will be:

1. Plus, minus, equals

2. =

3. D16 now says "10+5"

4. D19 now says "=D18-E18"

5. D22 now says "=3-4+5"

6. An image of a dog was inserted

7. Click on "File" in the top left corner and then click "Save As" OR press "Ctrl+Shift+S"

8. "Ctrl+C"

9. The pointer turns into a plus sign

10. "Ctrl"

11. The data from D40:G40 is now in D41:G41

12. You can store up to 24 items on the Office Clipboard

What is spreadsheet?

A spreadsheet is a computer programme that allows you to compute, organise, analyse, and store data in tabular form. Spreadsheets were created as electronic counterparts to paper accounting spreadsheets. The software runs on data entered into table cells. Each cell can include numeric or text data, as well as the results of formulas that calculate and display a value dependent on the contents of other cells. One such electronic document may also be referred to as a spreadsheet.

To learn more about spreadsheet
https://brainly.com/question/26919847

#SPJ1

Activity 1
the visual basic program to sort the following strings for array named "Place"
(Pacific, Atlantic, Indian, Black, Red, North, Caspian, Caribbean

Answers

Visual basic program to sort the following strings for array:

Public Class Form1
   Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
Button1.Click
       Dim Place() As String = {"Pacific", "Atlantic", "Indian",

What is array?
An array is a significant subject that falls within the umbrella of computer science. Additionally, you must thoroughly examine each angle of the array while preparing for a competitive exam like the GATE. All of the subjects pertinent to the array have been covered in this article. We hope the CSE topic notes will assist your understanding of this subject. An array is a collection of identical elements or data items stored at adjacent memory locations. In plain English, we can say that arrays are typically used in computer programming to organise the same kind of data.

To learn more about array
https://brainly.com/question/24275089
#SPJ1

The cost of a customers electricity bill is based on the number of units of electricity the customer uses. For the first 25 units of electricity the cost is 5 per unit for units of electricity after the first 25, the cost is 7 per unit which of the following code segments correctly sets the value of the variable cost to the cost in dollars of using numUnits units of electricity

Answers

The code segment that correctly sets the value of the variable cost to the cost, in dollars, of using numUnits units of electricity is:

IF numUnits ≤ 25

cost ← numUnits * 5

ELSE

cost ← 25 5 + (numUnits -25) 7

What is a code segment?

A code segment, often known as a text segment or just text, is a section of an object file or the equivalent piece of the program's virtual address space that includes executable instructions in computing.

Note that a code segment, often known as a text segment or simply text in the area of computing, is a section of a computer file that contains object code or an analogous section of the program's address space that contains executable instructions and directives information.

It should be mentioned that a segment can have a minimum size of 16 bytes and a maximum value of 64 kB.

Learn more about code segment:
https://brainly.com/question/20063766
#SPJ1

Full Question:

The cost of a customer's electricity bill is based on the number of units of electricity the customer uses.

- For the first 25 units of electricity, the cost is $5 per unit.

- For units of electricity after the first 25, the cost is $7 per unit.

Which code segments correctly sets the value of the variable cost to the cost, in dollars, of using numUnits units of electricity?

What feature would you use to enhance a text box? Shape Styles, Adjust slide layout, Insert new format, or Add-ons?​

Answers

Answer:

I believe add-ons are used for that

Explanation:

The state department that issues driver's licenses would like a police officer to be able to scan the driver's license and instantly view outstanding tickets and warrants. In one to two sentences, describe the emerging technology the state could use.

Answers

Answer:

The state could use a QR code scanner that would allow the officer to scan the code and view the outstanding tickets and warrants.

External hackers have some access to a company's website and made some changes. Customers have submitted multiple complaints via email for wrong orders and inappropriate images on the website. The Chief Information Officer (CIO) is now worried about the distribution of malware. The company should prepare for which of the following other issues or concerns?

Answers

Answer:

-Domain reputation

-URL redirections

Explanation:

Write a program that inputs numbers and keeps a running sum. When the sum is greater than 200, output the sum as well as the count of how many numbers were entered.

Sample Run
Enter a number: 50
Enter a number: 11
Enter a number: 66
Enter a number: 23
Enter a number: 53

Sum: 203
Numbers Entered: 5
Hint: If you get an EOF error while running the code you've written, this error likely means you're asking for too many inputs from the user.

Answers

Using the knowledge in computational language in python it is possible to write a code that  inputs numbers and keeps a running sum.

Writting the code:

totalsum=0

count=0

while(totalsum<=200):

  num=int(input("Enter a number: "))

  totalsum=totalsum+num

  count=count+1

print("Sum:",totalsum)

print("Numbers Entered:",count)

See more about python at brainly.com/question/12975450

#SPJ1

Write a java program that prints the following sequences (in the given order) using a while loop. The numbers in the sequences can be printed on a single line or on separate lines.
a) 2, 3, 4, ... , 14, 15
b) -10, -9, -8, ... , 9, 10
c) 100, 99, 98 ... , 91, 90
d) 40, 37, 34, ... , 25, 22

Answers

Answer:

class Main {

 static void sequence(int n, int end, int step) {

   for(;step>0 ? n<=end : n>=end; n += step) {

     System.out.printf("%d",n);

     if (n != end) System.out.printf(", ");

   }

   System.out.println();

 }

 

 public static void main(String[] args) {

   sequence(2, 15, 1);

   sequence(-10, 10, 1);

   sequence(100, 90, -1);

   sequence(40, 22, -3);

 }

}

Explanation:

Here is my solution again after being removed previously.

Which of the following is something computer scientist would do ​

Answers

Computer scientists use technology to solve problems and prepare for the future. They also write and program software to create applications. Their primary focus, however, is to validate and develop models for interaction between people and computers or software and devices

If you live in the center of a plate, it's unlikely that you'll ever experience the wonder of plate tectonics True or False??

Answers

Answer: False  

Explanation:Just guessed

Answer:

Explanation:

false  

Earthquakes can occur along faults far from the edges of plates. Although these earthquakes are much less common, they are due to the same forces that cause earthquakes along plate boundaries.

Why do you think so many companies continue to invest in new analytics tools without implementing governance programs that ensure data consistency?

Answers

Answer:This is a weird

quision because the world is not bobo

Explanation:

Could so please help me

Answers

Answer: For?

Explanation:

what do you need help with?

You work for a university and your colleague Mikhail sent you a spreadsheet with student information on it. It has the total number of credit hours they are taking, how many years they’ve been at the school, their email addresses, and their student ID number. In hidden columns it has their social security number and names; Mikhail says this is so no one reading the document can know which name goes with which information. Mikhail is planning on sharing the document with several people in and outside of your department and believes he has taken proper steps to secure students’ private information and keep them anonymous. Do you agree? What mistakes has Mikhail made, or what could he do to be more conscientious about sensitive information?

Answers

I do not agree with Mikhail plan on sharing the document with several people in and outside of your department and believes he has taken proper steps to secure students’ private information and keep them anonymous.

The mistakes that Mikhail made is not removing those information before sharing it and the thing that he can do is to lock that folder from been access by anyone.

What exactly does data security mean?

Data security is the process of guarding digital data against unauthorized access, corruption, and theft throughout all stages of its life.

Note that Data security refers to safeguarding digital information, such as that contained in a database, against obnoxious users and destructive forces, such as cyberattacks and data breaches.

Therefore, for safety, Place all sensitive data in a safe location. Never leave it unattended on your desk or anywhere that unauthorized people could easily access it. The best place for it to be kept is in a locked file cabinet or drawer. All confidential information may be requested back, or the owner may choose to have it destroyed.

Learn more about data security from

https://brainly.com/question/25720881
#SPJ1

How can spreadsheets be useful to buisnesses

Answers

Answer: A lot of businesses uses spreadsheets to identify trends and organize and sort data into different categories.

Explanation:

For example, they can record sales that happens, stocks and inventory, sorting worked hours, employee profiles and expenses, etc.

make a list different information system which is people can in
teract with every day

Answers

A list of different information system which people can interact with every day are:

LaptopsDatabasesNetworksSmartphones

Why is information technology so crucial to our daily lives?

Information systems store data in an advanced manner that greatly simplifies the process of retrieving the data. A business's decision-making process is aided by information systems. Delivering all the crucial information through an information system makes it simpler to make better judgments.

Note that examples of information systems that are powered by computers are:

Social media: WeChat, Face book, and LinkedInQ&A website: QuoraAtrium (University of Montreal) and Iris are cataloged in libraries (BAnQ)E-commerce platforms like Amazon and eBay

Learn more about information system  from

https://brainly.com/question/14688347
#SPJ1

Which of the following PC twos record data fastest

Answers

Answer:

Explanation:I believe none are good at all go out and play

Communication control devices play a very important role in computer networks. For example, a _____ provides access to the internet through an internet service provider.

router
client
modern

Answers

Answer:

Hello i think it is client

good luck<3!

What is the purpose for the Information systems?

Answers

to have user get, store and distribute data out

hope this helps this
Other Questions
a carnot heat engine operates between a source at 1000 k and a sink at 300 k. if the heat engine is supplied with heat at a rate of 800 kj/min, determine (a) the thermal efficiency and (b) the power output of this heat engine. answers: (a) 70 percent, (b) 9.33 kw Explain if the mutation is beneficial, harmful, or neutral for the individual who has the genetic disorder. Explain why.The genetic disorder that I got is Albinism Disorder. if the mass of the person's head is 4.8 kg , what is the magnitude of the force? express your answer using appropriate units. what thing does mij do which tell you that he is an intelligant , friendly and fun loving animal who needs love 65 g of nitric acid are produced in a reaction. 2. 5 g of platinum are added to the reaction vessel at the start of the reaction to act as a catalyst. How much platinum will there be left in the vessel at the end of the reaction?. 10) The ratio of a basketball players completed free throws to attempted free throws is 9 to 12. If sheattempted 20 free throws, find how many free throws she cmpleted.F 15 free throwsG16 free throwsH 8 free throwsJ 11 free throws A student is subjected to a reaction force of 10 n northward from a 5 kg block while pushing the block over a smooth, level surface. Ignoring friction, what is the acceleration of the block?. you explain to the child's parents that the role of the mitochondria is multiple choice to transport proteins to the cytoplasmic membrane. to produce the energy currency, atp, for a cell. to break down toxins in the body. to initiate dna replication during cell division. to protect the body from bacterial invaders. how is ethical decision making within a business setting consistent with the christian worldview cwv Mr. Garren has been emphasizing authentic testing in his social studies class. Which one of the following will be a likely result of this emphasis? A) Fewer essay tests B) More exhibitions by students of their work C) More mastery grading of performances D) More reliable grading of students a ladder leans against a frictionless wall. the coefficient of static friction between the ladder and the ground is 0.3. to avoid slipping of the ladder, find the maximum angle in degrees between the ladder and the wall. a sealed rigid vessel contains bao2(s) in equilibrium with bao(s) and o2(g) as represented by the equation above. which of the following changes will increase the amount of bao2(s) in the vessel? the potlatch is an example of what as a cultural obligation compelling prosperous members of a community to give away goods, host public feasts, provide free service, demonstrate generosity so no one is more wealthy than any other? which of the following describes the resting membrane potential of a neuron?A. a voltage difference of 0 millivolts (mV) across the membraneB. a voltage difference across the plasma membrane, with more positive membrane potential insideC. a voltage difference across the plasma membrane when the neuron has been stimulatedD. a voltage difference that is chiefly a reflection of the electrochemical Na+ gradient across the plasma membraneE. a state in which the flow of positive and negative ions across the plasma membrane is precisely balanced Ayuda por favor !! Por muchos puntos ::Vuele a escribir las oraciones usando los verbos andar, ir, llevar, continuar, seguir, o venir.1.) Mariela se burla de su hermano y simpre piensa que no le hace dao.2.) Jos estudia medicina desde haces diez aos, y en los ltimos meses sus parses le insisten en que dedique a Orta cosa.3.) se acerca la horma de poner manos a la obra al proyecto, aparezcan problemas todo el tiempo.6.) conversamos todo el tiempo mientras ellos se marchaban One of Hatshepsut's major accomplishments was:A. guaranteeing equal rights for both men and women in Egypt.B. freeing all slaves who had been captured in earlier wars.C. restoring trade networks that had been disrupted by war.D. building the most powerful army in Egyptian history. points if you reply whats 1+ 1+1+1x1 A 10.00 g sample of a copper (II) sulfate hydrate (CuSO4 xH2O) was found to contain 6.39 g of copper (II) sulfate. Determine the complete formula for the hydrate (find x). Which of the following could be a real-world description of the quantity two times x end quantity divided by 10?a The cost of a pizza split by 10 people plus a $2 tipb The cost of a pizza plus a $2 tip divided by 10 peoplec The cost per pizza for 10 pizzas divided by 2 peopled The cost per pizza for 2 pizzas divided by 10 people how is cause and effect reasoning used in the healthcare field? who uses it, why, how, and to what end? in which other fields and/or situations have you seen cause and effect in action? g