Temperature of a city in fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into in each subject is 100. #include<stdio.h> int main() { float temperature, centigrade; printf("Enter the temperature of your city in fahrenhe... Code Guru February 21, 2019 0
Consider a currency system in which there are notes of seven denominations, namely, Rs 1, Rs 2, Rs 5, Rs 10, Rs 50, Rs 100. if a sum of Rs N is entered through the keyboard, write a program to compute the smallest number of notes that will combine to give Rs. N. #include<stdio.h> int main() { int rs, a, b, c, d, e, f, g, h; printf("Enter the amount in Rupees : "); scanf(... Code Guru February 20, 2019 0
Two numbers are input through the keyboard into two locations C and D. write a program to interchange the content of C and D. #include<stdio.h> int main() { int c,d; printf("Enter your c value \n"); scanf("%d",&c); ... Code Guru February 20, 2019 4
if value of an angle is input through the keyboard, write a program to print all its trigonometric ratios. #include <stdio.h> int main() { int x,y,z; printf("Enter two angles of triangle: "); scanf("%d%d... Code Guru February 20, 2019 0
wind chill factor is the felt air temperature on exposed skin due to wind. the wind chill temperature is always low than the air temperature, and is calculated as per the following formula: #include<stdio.h> #include<math.h> int main() { int t,v; float wcf; printf("Enter Temperature and Veloci... Code Guru February 20, 2019 0
If the marks obtained by a student in five different subject are input through the keyword, write a program to find out the aggregate marks and percentage marks obtained by the student. assume that the maximum marks that can be obtained by a student in each subject is 100. Code Guru February 20, 2019 0
The distance between two cities (in km) is input through the keyboard. Write a program to convert and print this distance in meters, feet, inches and centimeters. #include<stdio.h> int main() { int distance,meter,centimeter; printf("Enter the distance between two cities \n The d... Code Guru February 17, 2019 0