PHP Introduction
Introduction PHP is an acronym of “Hypertext Preprocessor” which is widely used open source server side scripting language that is especially suited for web development and can be embedded into …
PHP Introduction Read MoreIntroduction PHP is an acronym of “Hypertext Preprocessor” which is widely used open source server side scripting language that is especially suited for web development and can be embedded into …
PHP Introduction Read More#include<stdio.h> #include<conio.h> main() { char name[50]; char address[50]; char telno[50]; FILE *fp; int i,n; fp=fopen("a.dat","a"); printf("How many records:"); scanf("%d",&n); for(i=0;i<n;i++) { printf("\nEnter the name:"); scanf("%s",name); printf("\nEnter the address:"); scanf("%s",address); printf("\nEnter …
N number of Name, address,phone in a file and display in proper format in C Program Read More/*sum of N integer using recursion*/ #include <stdio.h> int sum(int n); main() { int number, result; printf("Enter a positive integer: "); scanf("%d", &number); result = sum(number); printf("sum = %d", result); …
Sum of N integer using recursion Read More/*Sort the names into alphabetical order using structure*/ #include<stdio.h> #include<conio.h> #include<string.h> main() { char temp_name[50],temp_add[50]; int i,j,n; struct people { char name[50]; char add[50]; } p[200]; printf("Enter the number of …
Sort the names and address into alphabetical order using structure Read More/*Ascending order SORT*/ #include <stdio.h> main() { int i, j, a, n, number[10]; printf("Enter the value of N \n"); scanf("%d", &n); printf("Enter the numbers\n"); for (i = 0; i < …
Sort Numbers in Ascending Order C program Read More/*input N and add*/ #include<stdio.h> main() { int n, sum = 0, i, array[100]; printf("Enter the number of integers you want to add="); scanf("%d", &n); printf("\n\nEnter %d integers \n\n", n); …
Input ‘N’ numbers into array and display sum in C program Read More/*Greatest in array*/ #include <stdio.h> int main() { int i, n; float arr[100],max; printf("Enter the number of elements (1 to 100): "); scanf("%d", &n); for (i = 0; i < …
Greatest among input ‘n’ numbers using Array in C Program Read More* * * * * * * * * * * * * * * #include<stdio.h> main() { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) { printf("* "); } printf("\n"); } } …
Numeric Patterns in C Program Read More/*Factorial*/ #include<stdio.h> main() { int c, n, f = 1; printf("Enter a number to calculate its factorial\n"); scanf("%d", &n); for (c = 1; c <= n; c++) f = f …
Factorial of any Number Read More