The document contains a comprehensive list of programming tasks in C, JavaScript, and PHP, focusing on basic operations, file handling, and mathematical calculations. Each task is presented as a prompt for writing code, covering various concepts such as arrays, structures, recursion, and user input. The tasks are organized by programming language and include fundamental programming techniques and problem-solving exercises.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views
Php. Javascript
The document contains a comprehensive list of programming tasks in C, JavaScript, and PHP, focusing on basic operations, file handling, and mathematical calculations. Each task is presented as a prompt for writing code, covering various concepts such as arrays, structures, recursion, and user input. The tasks are organized by programming language and include fundamental programming techniques and problem-solving exercises.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
TABLE OF CONTENT:
1. Write a c program to find the number is positive, negative or zero.
2. Write a c program to find the number is odd or even. 3. Write a c program to print Fibonacci series. 4. Write a c program that perform addition, subtraction and multiplication. 5. Write a c program to read 'n' number in an array and print the sum of numbers using pointers. 6. Write a c program to display the array elements using pointer. 7. Write a c program to enter any two numbers and find the sum using pointer. 8. Write a c program to enter and print the roll no, name, age and mark of 15 student using structure. 9. Write a c program to display the sum of digits using recursive function. 10. Write a c program to display the sum of natural number using recursive function. 11. Write a c program to enter a number and display its square user defined function. 12. Write a c program to print "welcome to class 12" in a file. 13. Write a c program to append any text in an existing file. 14. Writ a program to enter any ten numbers from user and store them in file. Store even in even.txt and odd in odd.txt file. 15. write a c program to rename a file using rename function. 16. Write a c program to read name and mark of n number of student and store them in a file. 17. Write a c program to enter a name of book and append in a file that already exist. 18. Write a c program to find the factors of given numbers. 19. Write a c program to find the largest number. 20. Write a c program to find the power of the number. 21. Write a c program to reverse any number. 22. Write a c program to find the greatest among three numbers. 23. Write a c program to calculate the simple interest. 24. Write a c program to calculate the GCD of two numbers. 25. Write a c program to calculate the LCM of two numbers. 26. Write a c program to calculate the area of circle. 27. Write a c program to calculate the area of rectangle. 28. Write a c program to store the value using pointer. 29. Write a c program to counts the number in digit in a given integer. 30. Write a c program to print the name of 'n' numbers of student. 1. Write a JavaScript code to display the factorial a number using function. 2. Write a JavaScript code to display the area of triangle. 3. Write a JavaScript code to display the number from 1 to 10. 4. Write a JavaScript code to display all even number over 50. 5. Write JavaScript code to display the multiplication table of a given number. 6. Write JavaScript code to input cost price and sales price and find profit loss 7. Write a JavaScript code to find whether the number is odd or even. 8. Write a JavaScript code to calculate the simple interest. 9. Write a JavaScript code to enter the number and display sum and product. 10.Write a JavaScript code to ask number from user and display it. 1. Write a PHP code to display the multiplication table of a number. 2. Write a PHP code to display the following patterns. * ** *** **** 3. Write a PHP code to dis[lay the factorial of a number given by user. 4. Write a PHP code to enter the name and display it. 5. Write a PHP code to display all even numbers. 6. Write a PHP code to display the simple interest.