This document contains an index of 20 programming problems including calculating sums, areas and circumferences, simple interest, temperature conversions, percentages, reversing numbers, salaries, tables, conditional operators, leap years, even/odd numbers, switch statements to display days of the week, natural numbers and sums, different star patterns, Fibonacci series, factorials, prime numbers, and series sums.
This document contains an index of 20 programming problems including calculating sums, areas and circumferences, simple interest, temperature conversions, percentages, reversing numbers, salaries, tables, conditional operators, leap years, even/odd numbers, switch statements to display days of the week, natural numbers and sums, different star patterns, Fibonacci series, factorials, prime numbers, and series sums.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd
This document contains an index of 20 programming problems including calculating sums, areas and circumferences, simple interest, temperature conversions, percentages, reversing numbers, salaries, tables, conditional operators, leap years, even/odd numbers, switch statements to display days of the week, natural numbers and sums, different star patterns, Fibonacci series, factorials, prime numbers, and series sums.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd
2. Program to find area and circumference of circle. 3. Program to find the simple interest. 4. Program to convert temperature from degree centigrade to Fahrenheit. 5. Program to calculate sum of 5 subjects & find percentage. 6. Program to reverse a given number. 7. Program to find gross salary. 8. Program to print a table of any number. 9. Program to show the use of conditional operator. 10. Program to find that entered year is leap year or not. 11. Program to find whether given no is even or odd. 12. Program to use switch statement. Display Monday to Sunday. 13. Program to display first 10 natural no. & their sum. 14. Program to print stars Sequence1. 15. Program to print stars Sequence2. 16. Program to print stars Sequence3. 17. Program to print Fibonacci series up to 100. 18. Program to find factorial of a number. 19. Program to find whether given no is a prime no or not. 20. Program to display sum of series 1+1/2+1/3……..+1/n.