answersLogoWhite

0


Best Answer

#include

using std::cout;

using std::cin;

using std::endl;

int main()

{

double firstNumber = 0;

cout << "Enter first number: ";

cin >> firstNumber;

double secondNumber =0;

cout << "Enter second number: ";

cin << secondNumber;

cout << "Sum of the two numbers is: " << (firstNumber + secondNumber) << endl;

return 0;

}

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

read x

read y

print x

print y

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

a+b=c

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write an algorithm and Draw a flowchart to accept two numbers and display the sum of the numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Draw a flowchart to accept 3 numbers and display the largest number?

draw a flowchart to display the first tenth even number


Draw a flowchart to accept five numbers and display the sum of the numbers?

start, inputbox,inputbox,inputbox,inputbox,inputbox,progresh,display,stop&nbsp;


Flowchart for addition of two numbers?

start accept a,b and c c=a+b display c stop


Draw a flowchart that will accept radius and display the area of circle?

program that display the area of a circle of a reduce


Accept 5 numbers in an array and display it?

Accept 5 numbers in an array and display it.


Draw a flowchart to accept two numbers and check if the first is divisible by the second?

Convert this in flow chart and see if it can help Start Display "Enter 2 numbers" Accept 2 numbers A &amp; B Divide the A with B Is result Zero? ---- No - A is not Dividable with second Yes - A is Dividable with second End


A flowchart to Accept three numbers and check whether it firms to Pythagorean triplet?

Accept 3 natural numbers and check whether it firms pythagorean triplet


How to write an algorithm that accepts five numbers and displays the sum and average of the numbers?

1.Start Algorithm 2.Enter first number 3.Enter second number 4.Enter third number 5.Enter fourth number 6.Enter fifth number 7.Add five number 8.display five number / 2 9.Display result 10.End Algorithm


Draw a flowchart that will determine and display the largest among the three numbers being inputted?

start input A &amp; B if A&gt;B print A is greatest if B&gt;A print B is greatest stop james ola writes.....SOT.


Design an algorithm that will accept a perons name from the screen entered as surname first name separated by a comma Your program is to display the name as first name followed by three blanks?

Design an algorithm that will accept a perons's name from the screen entered as surname, first name, separated by a comma. Your program is to display the name as frist name, followed by three blanks, followed by the surname. -defining diagram -pseudocode algorithm


Write an algorithm that accept five numbers add them together and output the results instruct?

dont know use google instead dumb


How do you write the pseudo codes that will accept 7 numbers and display their sum?

Start accept 7 number calculate sum print sum stop