Given The Length And Breadth Of A Rectangle, Write A Program To Find Whether The Area Of The Rectangle Is Greater Than Its Perimeter #include<stdio.h> int main() { int length,breadth,area,perimeter,dif; printf("Enter a your length and breadth of a ... Code Guru February 27, 2019 0
write a program to receive value of latitude(l1 and l2) and longitude (g1, g2), in degrees, of two places on the earth and output the distance (d) between them in nautical mile. the formula for distance in nautical mile is #include<stdio.h> #include<stdlib.h> #include<math.h> int main() { float lat1, lat2, lon1, lon2, d; printf(... Code Guru February 22, 2019 1
Write a program to receive cartesian co-ordinates (x,y) of an point and convert them into polar co-ordinates (r,o) #include<stdio.h> #include<math.h> int main() { int x,y; float r,theta; printf("enter the value of coordinate ... Code Guru February 22, 2019 0
If length of three sides of a triangle of a triangle are input through the keyboard, Write a program to find the area of the triangle. #include <stdio.h> #include <math.h> int main() { int s, sidea, sideb, sidec, area; printf("Enter the side ... Code Guru February 22, 2019 0
If a Five-Digit number is input through the Keyboard, Write a program to reverse the number. #include<stdio.h> int main() { long num,a,b,c,d,e,rev; printf("Enter a five digit number\n"); scanf("%ld"... Code Guru February 22, 2019 0
any integer is input through the keyboard. Write a program to find out whether it is an odd number or even number. #include<stdio.h> int main() { int num,tr; printf("Enter your number "); scanf("%d",&num); ... Code Guru February 21, 2019 0
The Length & Breadth Of A Rectangle And Radius Of A Circle Are Input Through The Keyboard. Write A Program To Calculate The Area & Perimeter Of The Rectangle, And The Area & Circumference Of The Circle. #include<stdio.h> int main() { int length,breadth,r; float area, perimeter, areac,cc; printf("Enter the Length... Code Guru February 21, 2019 0