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;
}}


2 Responses so far.

  1. Anonymous says:

    Α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

  2. Anonymous says:

    [url=http://www.51soboo.com]百家乐论坛,百家乐园,百家乐技巧[/url]


    百家乐论坛

    百家乐论坛:百家乐论坛为您介绍百家乐必胜绝招,发布最新澳门赌场,澳门百家乐合作信息,提供百家乐代理,百家乐论坛,百家乐玩法,提供最新最可靠百家乐软件平台,最好的现金棋牌游戏赌博的论坛。

    百家乐论坛,百家乐园,百家乐技巧,百家乐技术交流,百家乐在线试玩的网址,欢迎您来我们百家乐网站参观试玩

Popular Post

Blog Archive

Total Pageviews

Sign In

Follow by Email

Powered by Blogger.

Like Us on Facebook

Search This Blog

Loading...

Indian Coder

- Copyright © Programming Mania -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -