Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a Pseudo Code to find the angle between two hands of a
clock for a given time.

Answer Posted / fanatic

#include<stdio.h>

main()
{

int hr,min;
double angle;
printf("Enter hour and minute in 24 hr format\n");
scanf("%d %d",&hr,&min);
angle=30*hr+(double)min/2-min*6;
if(angle<0) angle*=-1;
while(angle>180) angle-=180;

printf("%.2f\n",angle);
return 0;
}

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.

5343


If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com

8315


which book we learned this mantis? how many version are realsed this mantis upto now?

1935


how to data grid use in data bind?

2002


What is autocall macro and how to create autocall macro? what is the use of it?

2035


how many types of operating system are avaliable?

2327


how to add Servlet-api.jar file into eclipse 3.3.2 ?

4563


Tell me the jobs for the MCA Fresher in delhi, Noida..

2389


write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe

2002


through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?

2509


define profiler???

2038


how do find the user exit for selected feild whatis the process and can u plz explain it

2135


What is ur porject Architecture? If anyone ask what i have to specify here..

1935


Please describe an example where you used object orientation in one of your programs.

1963


1.Mutating table

1849