0% found this document useful (0 votes)
1K views2 pages

PLSQL Assignment Answers

The document outlines 50 programming problems covering a range of concepts including printing patterns, calculating sums, factorials, interest, checking number properties like prime and Armstrong, and string/date manipulation. The problems progress from basic to more complex concepts like leap years, compound interest, and Ramanujan numbers.

Uploaded by

madhav_kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views2 pages

PLSQL Assignment Answers

The document outlines 50 programming problems covering a range of concepts including printing patterns, calculating sums, factorials, interest, checking number properties like prime and Armstrong, and string/date manipulation. The problems progress from basic to more complex concepts like leap years, compound interest, and Ramanujan numbers.

Uploaded by

madhav_kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

[Link] a program to print the following format WELCOME TO PL/SQL PROGRAMMING 2.

Write a program to print the numbers from 1 to 100 [Link] a program to print the even numbers from 1 to 100 [Link] a program to print the odd numbers from 1 to 100 [Link] a program for multiplication table [Link] a program to find the sum of numbers from 1 to 100 [Link] a program to find the sum of all odd numbers from 1 to 100 [Link] a program to find the sum of all even numbers from 1 to 100 [Link] a program to accept a number and find how many digits it contain [Link] a program to accept a number and find the sum of the digits [Link] a program to accept a number and print it in reverse order [Link] a program to accept a no and check whether it is Armstrong number or not [Link] a porgram to generate all the Armstrong numbers from 1 to 1000 [Link] a program to generate all prime numbers between 1 to 100 [Link] a program to aceept a number and check whether it is prime number or not [Link] a program to display the fibonacci series from 1 to 10 [Link] a program to aceept a number and print it in binary format [Link] a program to accept a number and find the factorial of the number [Link] the factorials of numbers from 1 to 10 [Link] a program to aceept a number and display it in the Octal format [Link] a program to accept a number and print the multiplication tables upto soo [Link] a program to accept the temp in Centigrade and convert it into Fahrenheit(c=F-32/1.8) [Link] a program to calculate the area of a triangle by accepting the 3 sides [Link] a program to calculate the area of a circle by accepting the radius and unit of measure Area=PI*r2 [Link] a program to calculate the perimeter of a circle(perimeter=2*PI*r) [Link] a program to accept the 3 sides of the triangle and display the type of triangle [Link] a program accept the value of A,B&C display which is greater [Link] a program accept a string and check whether it is palindrome or not [Link] a program aceepts the value of A,B and swap the nos and print the values [Link] a program to accept the values of A , B and swap the numbers and print the values without using third variable [Link] a program to accept the side of a square and calculate the area area =a2 [Link] a program to accept principle amount ,rate,time calculate the simple interest si=(p*t*r)/100 [Link] a program to aceept the principle amount,rate,time and find the compound interest [Link] to calculate the sum of 1!+2!+......+n! [Link] to calculate the sum of 1+1/2+1/3+......+1/n [Link] to calculate the sum of 1/1!+1/2!+.....+1/n! [Link] to calculate the sum of 1/1!+2/2!+......+n/n! [Link] a program to display the months between two dates of a year [Link] a program to accept the date and print the weekdays from the given date

[Link] to accept the date and print the weekdays from the given date along with date format [Link] a program to accept a year and check whether it is leap year or not [Link] a program to accept a year and display all sundays along with the date [Link] to accept a string and count how many vowels present in the string [Link] a program to accept a year and check whether it is leap year or not . If it is leap year then display how many sundays present in that year / [Link] a program to accept a char and check it is vowel or consonant [Link] to accept A,B,C & D check whether it is Ramanujan number or not / [Link] to accept the CMR & LMR & find out the total bill amount i)0-100 units Rs.50 per unit ii)101-200n units Rs.o.25 per unit iii)>200 units Rs.1.25 per unit [Link] or accept marks of 3 subject as i/p and calculate the total marks and division of a student i) If totmark>=60 then division is First ii) If totmark <60 and totmark>=50 then division is second iii) If totmark< 50 and >=35 then division is third iv) If totmark< 35 then fail [Link] to accept a number and print its multiplication table horinzontally [Link] to accept a string and print it in reverse order

You might also like