The following are the good characteristics of a good program in C language:
Always maintain good Indentation.
Write comments where ever necessary.
Check the program for null inputs.
Check...
If this is a homework assignment, you really should consider doing it yourself include <stdlib.h>
include <stdio.h>
int main (int argc, char *argv[]) {
printf ("Hello...
The best way to learn programming is to constantly program. Grab a decent book, follow some online tutorials, whatever. Write some code, read, learn, re-write your old programs.
include<stdio.h> #include<conio.h> void main() { int i,fact=1,n; clrscr(); printf("\nEnter the no of terms ="); scanf("%d",&n); for(i=1;i<=n;i++) fact*=i; printf("\nFactorial value...