To write an algorithm for dividing two numbers, follow these steps:
num1
and num2
.num2
is not equal to zero to avoid division by zero errors.num1
by num2
and store the result.num2
is zero, display an error message indicating that division by zero is not allowed.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 accept 7 number calculate sum print sum stop
program that display the area of a circle of a reduce
In a "Truth" Lab, sometime in the future:During his interrogation he was warned by Big Brother; "If you don't give us a straight answer we will be forced to accept your brain scan algorithm inquiry results." "You don't want that, do you...?"
All number accept 0, SCROLL DOWN
Accept 5 numbers in an array and display it.
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, inputbox,inputbox,inputbox,inputbox,inputbox,progresh,display,stop
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
draw a flowchart to display the first tenth even number
dont know use google instead dumb
Start accept 7 number calculate sum print sum stop
start accept a,b and c c=a+b display c stop
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
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.
#include using std::cout;using std::cin;using std::endl;int main(){double firstNumber = 0;cout > firstNumber;double secondNumber =0;cout
program that display the area of a circle of a reduce