- Back to Home »
- GENERAL OR BASIC PROGRAMS , MATH PROGRAMS IN C »
- Converting Degree to Radian
Posted by : ANIMESH SHAW
Wednesday, 2 May 2012
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<math.h>
int main()
{
float a, b, c, d;
char s;
printf("Enter Degrees: ");
scanf("%f", &a);
printf("Enter Minutes: ");
scanf("%f", &b);
c=((b/60)+a)*(3.1416/180);
printf("\nThe radians is %.0f", c);
printf("\n\nPress y to continue and x to exit: ");
scanf("%s", &s);
if(s=='y') {
system("cls");
return main();
getch();
}
if(s=='x')
{
return 0;
}}

Αfter lοοκing at a hаndful of thе
blog aгtіclеs on your web page, I
tгuly like your waу οf ωriting a blog.
I saved as a favorіtе it to mу bοokmaгκ ѕіte list and wіll be сheckіng
back soon. Please сheck out my web site too and tell me how you fеel.
Feel free to visit my blog : isrvirtual.org
[url=http://www.51soboo.com]百家乐论坛,百家乐园,百家乐技巧[/url]
百家乐论坛
百家乐论坛:百家乐论坛为您介绍百家乐必胜绝招,发布最新澳门赌场,澳门百家乐合作信息,提供百家乐代理,百家乐论坛,百家乐玩法,提供最新最可靠百家乐软件平台,最好的现金棋牌游戏赌博的论坛。
百家乐论坛,百家乐园,百家乐技巧,百家乐技术交流,百家乐在线试玩的网址,欢迎您来我们百家乐网站参观试玩