Write a program to find the product of 3 numbers

Answers

Answer 1

Answer:

#include<iostream>

using namespace std;

int main()

{

   int a,b,c;

   cout<<"enter the value of a:";

   cin>>a;

   cout<<"enter the value of b:";

   cin>>b;

   cout<<"enter the value of c:";

   cin>>c;

   cout<<"product is:"<<(a*b*c);

   return 0;

}

Explanation:

Answer 2

The following codes have been written using Python.

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

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

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

p = x*y*z

print(p, "is the product of", x, y, "and", str(z)+ ".")

Hope it helps. :)


Related Questions

__________ (10 letters) is space between lines of program code that makes the code easier to read and that the compiler ignores.

Answers

Answer:

Whitespace. I hope this helps

Select all that apply.
What features must be completed from the Master Page screen?
Inserting headers or footers
Inserting a watermark
changing the template
Inserting a table

Answers

Answer:

Inserting headers or footers Inserting a watermark

Explanation:

A Master Page is a page which can be used with the majority of the documents of your paper as a reference. Master pages may have visuals elements, such as headlines, footers, column headings, etc that occur on all publishing pages.

Add criteria to this query to return records where the student lastname field begins with the letter



a. run the query. font size

Answers

Answer:

To query the access database to return a group of records with lastname starting with A, change the LastName field's criteria to A, and then click the run button in the results ribbon group of the design ribbon tab.

Explanation:

Microsoft Access is a database management software used to create, manage, and query a database. Just like a spreadsheet and in relational databases, it stores data in records (rows) and fields (columns). To output the result of a query, the run button in the design ribbon tab is clicked.

What will be the output of the following lines of code and the user’s response?

>>> answer = input("What does your dog weigh? ")
What do you weigh? 85.7
>>> weight = int(answer)
>>> print("The weight is" , weight)
An error occurs.
The weight is 85.7
The weight is 85
The weight is 86

Answers

Answer:

An error occurs.

Explanation:

You cannot pass a string representation of a float ("85.7") into an int conversion, you'd have to convert it into a float first.

So weight = int(float(answer)) would work.

Answer: an error occurs

Explanation: got it right on edgen

What will happen when you drag and drop a worksheet tab into another workbook WITHOUT holding the Ctrl key down?
Choices:
A. The worksheet will be MOVED.
B. The worksheet will be COPIED.
C. Nothing will happen.

Answers

Answer:

Its defeintly not C so pick either A or B depending on what control does

Explanation:

Answer:

A

Explanation:

I went into excel and tried. The sheet gets moved.

A digital computer has a memory unit with 26 bits per word. The instruction set consists of 756 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a. How many bits are needed for the opcode? b. How many bits are left for the address part of the instruction? c. What is the maximum allowable size for memory? d. What is the largest unsigned binary number that can be accommodated in one word of memory?

Answers

Answer:

a. the number of bits needed for the opcode = 10

b. address part is = 16 bits

c. maximum allowable size of memory = 65536

d. Maximum memory size per word = 67108864

Explanation:

The memory size of the instruction set is 756 which is less than 2^10 (that is 1024).

Since the word size is 26 bits and the instruction takes 10, the remaining 16 is for the address part which is 65536 memory address. The maximum number of memory size for a word is 67108864.

Which of the following describes why graphical interfaces quickly became popular after their introduction to the mass market?

A.superior usability
B.form over function
C.strong ISO standards
D.contextual design analysis of a market demographic

Answers

A.superior usability

Mississippi law codes state that bullying and cyberbullying are against the law. A court can decide to incur ____________________ time or a_____________________ or both depending on the degree and the frequency of the infraction, and the age of the perpetrator.

Answers

Answer:

1) Imprisonment

2) Fine

Explanation:

By the 2013 Mississippi Code, on Cybercrimes and Identity Theft, it is against the law to make use of electronic mail or other forma of electronic communication to engage in cyber bullying, which involves the use of threatening language of inflicting arm or with an aim to extort money from another person

The punishment for cyber bullying, includes imprisonment time or a fine or both.

Therefore, for the question, we have; Mississippi law codes state that bullying and cyberbullying are against the law. A court can decide to incur imprisonment time or a fine or both depending on the degree and the frequency of the infraction, and the age of the perpetrator.

What will be the output of the following lines of code and the user's response?

Answers

Answer:

The answer is C. 85

Explanation:

The int() function is usually used to turn a float, to an int. When you use the int() function, it just cuts of everything past the decimal. It doesn't round the float. Leaving you with the option C. 85

hope this helped you :D

what is the name of the statement used for providing calculations in pseudocode​

Answers

Answer:

processing statement

Explanation:

processing statement is used to perform calculation or assignment.

Which pane in PowerPoint contains images of the slides in the order they appear in the presentation

Answers

Answer:

When you insert a picture, you have to click on it a few times to get different designs.

Explanation:

Answer:

thumbnail pain

Explanation:

i just took the review

two devices that may be used for creating,storing,and transmitting documents input devices

Answers

Answer:

electronic notebook or a pc?

Explanation:

sorry if its wrong of doesnt help

Which of the following statements best describes the
location of the Options bar?
Select one:
At the top of the workspace window, home for
essential commands, adjustments and actions
Directly beneath the Menu bar, it displays available
options for the tool selected in the Tools Panel
At the left of the workspace window, it is a column
of icons for creating and editing
At the right of the workspace, the contains the
groups of controls for working with images

Answers

The statements that best describes the location of the Options bar is

Directly beneath the Menu bar, it displays available options for the tool selected in the Tools Panel.

What is option bar?

Option bar serves as a tool bar, where some functional tools can be gotten when running a program.

Therefore, option bar is located Directly beneath the Menu bar, it displays available options for the tool selected in the Tools Panel

Learn more about options bar at;

https://brainly.com/question/1360051

Write the code which prints "Access granted!" if the correct password, "swordfish" is entered, and "Access denied!" otherwise.

JAVA IM DESPERATE!!!!

Answers

im not sure but use some "if" things and do it like "if swordfish is entered display 'access granted' " then like "if swordfish not entered display 'access denied' "

idrk how to write java tho

(in order of a-z)
Telephone Dog chips Snake Airplane Balloons Glove Pen Notebook Flowers Bookmark Hat Orange Turtle Lamp Scissors Poster Cup Boot​

Answers

Answer:

Airplane

Balloons

Bookmark

Boot

Chips

Cup

Dog

Flowers

Glove

Hat

Lamp

Notebook

Orange

Pen

Poster

Scissors

Snake

Telephone

Turtle

Write a program that asks the user to enter 2 words, then prints "Great!" if the two words are identical, "Close enough" if they are the same length and all but the last letter matches, and "Try again" otherwise.

java, desperate fr

Answers

Answer:

 System.out.println("Enter 2 strings:");

   Scanner scan = new Scanner(System.in);

   String a = scan.nextLine();

   String b = scan.nextLine();

   int c = a.length();

   int d = b.length();

   String e =  a.substring(0, a.length()-1);

   String f = b.substring(0, b.length()-1);

   if (a.equals(b)){

     System.out.println("Great!");

   }

   else if (c== d && e.equals(f)){

     System.out.println("Close enough");

   }

   else{

     System.out.println("Try again");

   }

 }

 

}

Explanation:

Following are the java program to comparing the words:

Program Explanation:

Import package.Defining the main class.Defining the main method.Inside the main method two string "f,s" is declared that uses input method to input value.After input value multiple conditional statement is declared that checks inputs value.In the if block, it checks first string value equal to second value, if it is true it will print a message "Great!".In the else if block it checks string value that has same length, for this it uses "l" variable that checks length value, and the print the message "Close enough".In the else block, it will print the message "Try again".

Program:

import java.util.*;//import package public class Main //defining a class {    public static void main(String[] ars) //defining main method    {        String f,s;//defining String variable        Scanner obc=new Scanner(System.in);//creating Scanner class object        System.out.print("Enter First word: ");//print message        f=obc.next();//input value        System.out.print("Enter Second word: ");//print message        s=obc.next();//input value        if(f.equals(s))//use if to check input string value are equal            System.out.println("Great!");//print message        else if(f.length()==s.length())//using else if block that checks string value has same length         {            int c=0;//defining integer variable             int l=f.length();//defining integer variable l that holds first string length value            for(int i=0;i<l;i++) //using for loop to compare string value            {                if(f.charAt(i)==s.charAt(i))//use if to compare string by using charAt method                    c++;//incrementing c value            }            if(c==l-1 && f.charAt(l-1)!=s.charAt(l-1)) //comparing string            {                System.out.println("Close enough");//print message            }        }        else //defining else        {            System.out.println("Try again");//print message        }    } }

Output:

Please find the attached file.

Learn more:

brainly.com/question/20875119

bvbmb

The online underground is used___.
Select 3 options.

Answers

Answer:

I think its the 4th one but im not that sure tho sorry!

Explanation:

Answer:

1,3,4

Explanation:

By cybercriminals to sell ransom services,by cybercriminals to purchase malicious software,for networking by criminal organizations

Which statement will remove 5:'softball' from the dictionary?

sports = {2:'football', 3:'soccer', 4:'volleyball', 5:'softball'}
sports.remove()

sports.pop()

sports.pop(5)

sports.remove('softball')

Answers

Answer:

sports.pop(5)

Explanation:

edg 2020

Answer:

sports.pop(5)

Explanation:

What happens when you press the Enter key at the end of a line of bulleted text? A bullet-style change results. A new bullet point is added. The next line is demoted. The next line is promoted.

Answers

Answer:

a new bullet point is added

Explanation:

im not sure what class this would be for but here

Answer:

If you press enter at the end of a bulleted line you would be adding another bullet for another bulleted line.

Explanation:

see watch>

First bulleted line (press enter)See new bulleted line

This is for B.I.M (Business.Information.Management)

Hope that helps

Plz give brainlist

Check all of the file types that a Slides presentation can be downloaded as.

.JPEG
.doc
.xls
.PDF
.pptx
.bmp

Answers

Answer:

.JPEG

.PDF

.pptx

General Concepts:

Google

Slides has an option to download a wide multitude of formats

Explanation:

If we go into File, and then under Download, we should be able to see which file types that a Slides presentation can be downloaded as.

Attached below is an image of the options.

The answers are:
.JPEG
.PDF
.pptx

Hope this helped :D

Explain how an off-site computer can be used to modify a drawing held at another computer location.

Answers

Answer:

Through a remote network shared by both computers

What is net pay?
What is net pay?

Answers

Answer:

Net pay is an employee’s earnings after all deductions are taken out. Obligatory deductions such as the FICA mandated Social Security tax and Medicare are withheld automatically from an employee’s earnings. Other deductions come in the form of benefits, which may be optional. Health, dental and vision insurance, life insurance, or a retirement fund may be offered through an employer. These costs will come in the form of a deduction from the employee’s gross pay, or salary.

Net pay refers to the amount an employee takes home, not the amount it cost to employ them. Retirement plan contributions, employee benefits, and employer FICA taxes are deducted before an employee receives their net pay.
I hope this helps!! :))

In microsoft word, you can change the look of paragraphs by: select all that apply
a. changing page margins
b. organizing lists of information into bullets
c. changing text spacing
d. changing text alignment​

Answers

Answer:

Changing Text Alignment, D

Explanation:

The length of time that a slide appears before automatically advancing to the next slide can be set in the

A. Timing group under the Transitions tab.
B. Transition to This Slide group under the Transitions tab.
C. Timing group in the Master Slide view.
D. Transition to This Slide group in the Master Slide view.

Answers

Answer:

A.

Explanation:

The transition time between slides can be specified in a presentation. The duration of transition can be set by going to the 'Transitions Tab' then in 'Timing Group/Section'. In the timing group, duration can be increased or decreased, as per the desire. The time is set in seconds in duration section.

So, the length of time between two slides can be changed by going to the 'Timing group' under the 'Transitions Tab'.

Therefore, option A is correct.

Answer:

A

Explanation:

Which structure carries the semen to the penis?

sperm duct
glands
scrotum
testes

Answers

Answer:

i think sperm duct im taking the test right now on edge 2020

Explanation:

I think

Answer:

Sperm duct

Explanation:

Choose the best type of loop for each situation.

1. You are finding the batting average of 13 baseball players.
a- for
b- while

2. You are asking your users for the names of all the stores where they shopped to find their friend's birthday
present. They will show they are done by entering the word "done."
a- for
b- while

Answers

Answer:

1. Option A: for loop is correct

2. Option B: while loop is correct

Explanation:

Two loops are used commonly. For and while

For is used when the number of iterations are already known and while is used when number of iterations is not known and the loop has to be terminated based on any condition.

1. You are finding the batting average of 13 baseball players.

For loop will be used as the number of iterations is already known. The score of 13 players has to be used to calculate the average so there will be 13 iterations. Hence, for loop will be used.

2. You are asking your users for the names of all the stores where they shopped to find their friend's birthday  present. They will show they are done by entering the word "done."

While loop will be used as the termination of loop depends on the input given by the user so the number of iterations are not already known.

Hence,

1. Option A: for loop is correct

2. Option B: while loop is correct

Answer: 1.for 2. while

Explanation: got it right on edgen

What’s 9- 4 x y + 44 - -8
and what is 77 - 1.3 + -22

Answers

Answer:

1. -4y + 61

2. 53.7

4.20 [5] <§4.5> Add NOP instructions to the code below so that it will run correctly on a pipeline that does not handle data hazards. ADDI X1, X2, #5 ADD X3, X1, X2 ADDI X4, X1, #15 ADD X5, X3, X2

Answers

Answer:

Following are the solution to this question:

Explanation:

The following is the sequence of instructions to ensure proper implementation after adding NOPs:  

[tex]ADDI \ Xl,X2, \#5\\NOP\\NOP\\NOP\\ADD \ X3, X1,X2\\ADDI \ X4, X1, \#15\\ADD \ X5, X3,X2\\[/tex]

The value of the X1 is identified in the first ADDI order X1, X2, #5, mostly on the WB level, which appears in clock cycle five. Before the second instructions, three NOPs are added because as second instruction should wait for X1 to be correct.

Its second primary example with cycle 5, but ends through cycle 9. clock. Since X3 quality doesn't execute its third command, no NOP is inserted.

Its third instruction begins at clock cycle 6 and finishes at clock cycle 10. Because the fourth order is not required to execute an X4 value, no NOP is inserted, and the fourth instruction begins in cycle 7 and finishes at clock cycle 11.

evaluate:15+5*(8-5)/14

Answers

Answer:

225/14

Explanation:

By BODMAS

15 + 5 × (8-5) ÷ 14

= 15 + 5 × 3 ÷ 14

= 15 + 5 × 3/14

= 15 + 15/14

= 210/14 + 15/14

= (210 + 15)/14

= 225/14

what is 38 - -93 + 2 x 4.6?
and what’s 9,220 - -2.3 x U

Answers

Answer:

the first equation is 140.2

what's the last eqaution U???

Explanation:

Other Questions
A sketch of y= ax + bx + c is shown Please PLS PLS PLS PLS Answer ASAP This Is due in a few min and its a test PLEASE will give brainliest if right!! :) the compound interest formula a=p(1+r/n)^nt where p is the initial amount invested, r is the interest as a decimal, n is the number of times compound annually, the the number of years. Determine the value of the account if the initial investment is $8,000 compounded monthly at a rate of 6% after 10 years. Evidence that a source is authoritative includes a. An email address to ask further questions about information in the source c. No verbiage used which could identify bias about the information provided b. A date regarding when the source was written d. Logical structure of the information provided so that it is easily read and understood Please select the best answer from the choices provided A B C D 4. Which political body does the Supreme Court rely on to enforce their legal decisions regardingAmerican law? In the last three years, Fredericos basketball team won 30 more games than they lost. If they won 130 games, what was the ratio of wins to losses? Shelley gives her little sister a 5-meter head start in a bike race. The race ends 15 meters east from where Shelley started. If her little sister completes the race in 5 seconds, what is her sisters average velocity? (Round your answer to the nearest whole number.) Is birth a qualitative or quantitative?Birth year What caused the Supreme Court to overturn its decision making it mandatory to salute the flag?A.) that the original ruling provoked objections from teachersB.)that the original ruling caused harm to school childrenC.)that the original ruling was dismissed by the lower courtsD.)that the original ruling was made without the Supreme Court having all the facts 2ND NINE WEEKSBIWEEKLY ASSESSMENT5. A is an orchestral work organized into four movements.a. sonatab. motiveC. balladD. Symphony they won't be here long?(change into tag) Read the passage from I Know Why the Caged Bird Sings.Occasionally, though, Mrs. Flowers would drift off the road and down to the Store and Momma would say to me, "Sister, you go on and play." As I left I would hear the beginning of an intimate conversation. Momma persistently using the wrong verb, or none at all."Brother and Sister Wilcox is sho'ly the meanest" "Is," Momma? "Is"? Oh, please, not "is," Momma, for two or more. But they talked, and from the side of the building where I waited for the ground to open up and swallow me, I heard the soft-voiced Mrs. Flowers and the textured voice of my grandmother merging and melting. They were interrupted from time to time by giggles that must have come from Mrs. Flowers (Momma never giggled in her life).Marguerites thoughts in this passage help the reader to infer that Mrs. Flowersfeels she is superior to Momma.is embarrassed by Momma.thinks of Momma as a friend.likes to make fun of Momma. How does your decision change based on what you want to say? How does it change based on the person you are talking to? PLEASEE ANSWERR Which of the following is the main message of Washingtons Farewell Address?to warn the nation about foreign alliances and political partiesto warn the nation about the destiny of nationsto warn the nation about the reach of spirited patriotism Grain is pouring into a silo to be stored for later use. Due to the friction between pieces of grain as they rub against each other during the pouring process, one piece of grain picks up a charge of 6.0 E -10 C and another piece of grain picks up a charge of 2.3 E -15 C. What is the electric force between them if the pieces of grain are 2 cm apart? what invention caused the slave trade to explode in the south Wasim and his friends want to test if the solution of a substance is acidic or not. These are the tests that each of them performed. Wasim: Dipped the blue litmus in the solution Akram: Dipped the red litmus in the solution Neha: Dipped both the blue and the red litmus in the solution one after other. Who among them performed a proper test ? While making chicken soup for his family one evening, Luis added the amount of salt the recipe called for. After tasting the soup, he decided the seasoning was correct. He then he let the chicken soup simmer for two hours to blend the flavors. But when he served the soup, it was too salty. What happened to the soup to make it so salty?A. He added to much solvent B. He added something else besides saltC. Some of the chicken was saltier than the rest of itD. Some water evaporated and concentrated the salt Please I'm so bad at math-And explain it to me so I understand it next time. :) Alka can best argue her papers thesis statement by finding data that? 1.ignores other positions. 2.increases her knowledge. 3.provides many details. 4.supports her position.