-->

Facebook

Jasper Roberts - Blog

Monday, October 6, 2014

Write a program to find sum of all integers greater than 100 & less than 200 and are divisible by 5.

#include<stdio.h>
#include<conio.h>

void main()
{
int i, sum=0;

Write a program to print 1+1/2+1/3+1/4+....+1/N series.

#include<conio.h>
#include<stdio.h>

void main()
{
double i, n, sum = 0;
clrscr();

printf("enter the number:");
scanf("%lf",&n);

Features / Importance of C.

-    C is a robust:
C language provides 32 keywords. It has a rich set of functions and operators. We can use them to write any complex programs.


-    C is fast and efficient:
C language consists of variety of data types and powerful operators which makes it faster.