Assignment1 2 PL SQL
Assignment1 2 PL SQL
102. WAP to accept 2 nos and find the sum and product of the nos and print the output
103. WAP to accept 2 nos and find the remainder when the first number is divided by sencond(dont use
mod function)
104. WAP to display all the ASCII characters 0-9--48-57,A-Z--65-90,a-z--97-122
105. Print the following format
ORACLE
ORACL
ORAC
ORA
OR
O
106. WAP to display "GOOD MORNING" or "GOOD AFTERNOON" or "GOOD NIGHT" depending
upon the current time
107. WAP to accept two strings and concat the two strings
108. WAP to accept a string and count the no of chars,words in that string
109. WAP to accept the octal number and print it in decimal format
110. WAP to accept the mgr and find how many emps are working under that mgr
111. WAP to accept the empno and update the employee row on the following
If sal < 2600 then sal=sal+10% of sal make the changes in the emp table
112. Write the floyd's triangle
1
23
456
7 8 9 10
11 12 13 14 15
16 17 18 19 20 21
...............
79..............91
113. WAP to accept the real value and print integer value only
114. WAP to calculate the sum of n odd factorials
115. WAP to calculate the sum of n even factorials
116. WAP to generate the nos which are prime and odd between 1 and 100
117. Write a program to generate following series
12
12 22
12 22 32
12 22 32 42
12 22 32 42 52
118. Find the roots of a quadratic equation
119. WAP to accept the 2 diff nos, assume that first one is smaller and second one is highest value then print
the all even nos in between them horizontally
120. WAP to accept two diff nos assume that first one is smaller and second one is highest value then print
the all odd nos in between them horizontally