Pages

Friday, 31 January 2014

Data type programs 

float
int
double
char

float use for enter a decimals

int  simple data
char use for to enter a character

PROGRAM OF FLOAT VARIABLE

#include<iostream.h>
#include<stdio.h>
main()
{
clrscr();
float a,b,res;
a=9;
b=4;
res=a/b;
cout<<"RESULT;"<<res;
getch();
}

No comments:

Post a Comment