Write a program to find sum of 10 to 20 numbers.

Write a program to find sum of 10 to 20 numbers. #include<stdio.h> #include<conio.h> void main() { clrscr(); int   i, sum=0; for(i=10; i<=20;i++) { sum=sum+i; } printf(“%d”,sum); getch(); }     Output:   165

PHP-2

                          Practical list of PHP-2



  • Write a PHP Program to send a mail from php Script -click here



  • Write a PHP Program to recursive traversals of directory.-click here



  • Write a PHP Program to generate the multiplication of matrix.-click here


  • Write a PHP Program to display the today’s date and Current time.-click here


  • Write a PHP Program to display the Fibonacci series.-click here


  • Write a PHP Program to demonstrate the use of Array.-click here


  • Write a PHP Program to calculate sum of given number.-click here



  • Write a PHP Program  to read the employee details using form component.-click here

  • Write a PHP  Program to prepare student Mark sheet using Switch statement.-click here


  • Write a  PHP Program to display “Hello World” Message on Screen.-click here


  • Write  a PHP Program that will use the concept form.-click here

Comments