Skip to main content
Search
Search This Blog
Adsense
CFETCH
Share
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
Labels
C Programs
February 13, 2013
A C Program to learn the use of long integer and double datatype.
#include<stdio.h>
#include<conio.h>
void main()
{
long int p1;
double p2;
printf("Enter value of p1:");
scanf("%ld"&p1);
printf("Enter value of p2:");
scanf("%Ld",&p2);
printf("Population p1=%ld",p1);
printf("Population p2=%Ld",p2);
getch();
}
Comments
Popular Posts
January 17, 2014
C program to draw ellipse using Midpoint Ellipse Algorithm.
July 12, 2013
A C Program to ask the price of an item in decimal and separate rupees and paise.
Comments
Post a Comment