answersLogoWhite

0


Best Answer

BEGIN

FOR I IN 1..100 LOOP

--if the number is divisible by 2 then it is a even number.

IF MOD(#,2)=0 THEN

--display the number.

dbms_output.put_line(I);

END IF;

END LOOP;

END;

elementFontfont-familyfont-sizefont-stylefont-variantfont-weightletter-spacingline-heighttext-decorationtext-aligntext-indenttext-transformwhite-spaceword-spacingcolorBackgroundbg-attachmentbg-colorbg-imagebg-positionbg-repeatBoxwidthheightborder-topborder-rightborder-bottomborder-leftmarginpaddingmax-heightmin-heightmax-widthmin-widthoutline-coloroutline-styleoutline-widthPositioningpositiontopbottomrightleftfloatdisplayclearz-indexListlist-style-imagelist-style-typelist-style-positionTablevertical-alignborder-collapseborder-spacingcaption-sideempty-cellstable-layoutEffectstext-shadow-webkit-box-shadowborder-radiusOtheroverflowcursorvisibility
User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program of even or odd in plsql?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a C program to check whether the number is odd or even Ps-using DEV complier?

To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.


How do you know if odd or even in turbo pascal program?

if n MOD 2 == 0 THEN Write ("Even");


Write c program to find odd or even no?

For any number n you could use * (n % 2 == 0), which would be true for an even number, false for odd For an integer i, a simpler method would be * (i & 1), which would be true for an odd number, false for even


Write a java program to find sum of even and odd numbers in given array?

for(int i = 1; i < 100; i+=2) { System.out.println(i); }


Write a program in c that prompt user with following lines add two integers test an integer for odd or even and quit?

write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit


Write a program to print even and odd numbers in between 1 to 10?

for (int i = 2; i < 10; i ++) printf("%d\n", i); You did say even and odd numbers between 1 and 10. That's allnumbers between 1 and 10.


Write a java script program to print first ten odd natural numbers in C?

Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.


Write a C Program to print sum of squares of odd numbers?

#include


Write c program to find the given no is even or odd?

int main () { int x; printf ("Enter the value of x\n"); scanf ("%d",&amp;x); if (0 == x%2) printf ("Number is even\n") else printf ("Number is odd\n"); }


Write the program witch show that the number is even or odd?

In BASIC: 10 INPUT X: IF X = 999 THEN STOP ELSE PRINT X; 20 IF X/2 = INT(X/2) THEN PRINT "EVEN" ELSE PRINT "ODD" 30 GOTO 10


How will you display the number between 1 to 100 as odd or even as shown odd even or odd?

You write odd or even in brackets, but most people should know if it's odd or even as odd numbers end in 1, 3, 5, 7 or 9 and even numbers end in 2, 4, 6,8 or 0.


How do you Write a C program to print a Series of Odd Numbers and Even Numbers.?

Reference:http:cprogramming-bd.com/c_page2.aspx# strange number