-->

Facebook

Jasper Roberts - Blog

Monday, October 6, 2014

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.

Saturday, October 4, 2014

CPU(2110003) Assignment - 2

1. Write a short note on data types.
2. What is constant? Explain numerical constant and non-numerical constant.

Types of Constants in C Language

Types of Constants