#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;
}
read x
read y
print x
print y
a+b=c
draw a flowchart to display the first tenth even number
Accept 5 numbers in an array and display it.
Accept 3 natural numbers and check whether it firms pythagorean triplet
start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.
identification division. program-id. greatest. environment division. data division. working-storage section. 77 a pic 999. 77 b pic 999. 77 c pic 999. procedure division. greatest. display "ENTER THE THREE NUMBERS:". accept a. accept b. accept c. if a > b and a > c display a "is greatest" else if b > c display b "is greatest" else display c "is greatest". display " thank you". stop run.
draw a flowchart to display the first tenth even number
start, inputbox,inputbox,inputbox,inputbox,inputbox,progresh,display,stop
start accept a,b and c c=a+b display c stop
program that display the area of a circle of a reduce
Accept 5 numbers in an array and display it.
Convert this in flow chart and see if it can help Start Display "Enter 2 numbers" Accept 2 numbers A & B Divide the A with B Is result Zero? ---- No - A is not Dividable with second Yes - A is Dividable with second End
Accept 3 natural numbers and check whether it firms pythagorean triplet
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
start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.
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
dont know use google instead dumb
Start accept 7 number calculate sum print sum stop