Skip to content

vijaysoren/C---level---very-easy

Repository files navigation

C programs ---level---very easy

(a). Ramesh's basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.

(b). 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.

(c). If the marks obtained by a a student in five different subjects are input through the key board, 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.

(d). Temperature of a city in Farenheit degrees is input through the key board. Write a program to convert this temperature into Centigrade degrees.

(e). 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 rectangel, and the area & circumference of the circle.

(f). Two numbers are input through the keyboard into two locations C and D. Write a program to interchange the contentes of C and D.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages