C programming
Thursday, July 22, 2010
Write a programe to print half value of enter number
//Write a programe to print half value of enter number //
#include<stdio.h>
#include<conio.h>
void main ()
{
float a,b;
clrscr();
printf("Enter the number\n");
scanf("%f",&a);
b=a/2;
printf("Answere =%.2f",b);
getch ();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment