PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()
PROCEDURE main()
{
DISPLAY("Enter a number: ")
x <- NUMBER(INPUT())
DISPLAY("Enter another number: ")
y <- NUMBER(INPUT())
IF (x + y > 10)
{
DISPLAY("Branch 1")
}
ELSE
{
DISPLAY("Branch 2")
}
IF (x - y > 10)
{
DISPLAY("Branch 3")
}
ELSE
{
DISPLAY("Branch 4")
}
}
main()