Temperature of a city in Fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into centigrade degrees.

Convert temperature from degreee centigrade to fahrenheit....

Temperature of a city in Fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into centigrade degrees.

Convert temperature from degreee centigrade to fahrenheit....

If the marks obtained by a student are input through the keyboard 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.

Output

Ramesh's basic salary is input through the keyboard His dearness allowance is 90% of basic salary and his house rent allowance is 10% of basic salary and his rural area is 6% of his salary and plus medical allowance 500 + mobile allowance is 500. Write a Program to Calculate his Gross Salary.

Output

Home | � | C Structures | � | Structure within Structure |

Output is as :

Enter the Name and City

Bintu

Muktsar

Name=Bintu

City=Muktsar

Home | � | C Structures | � | Simple Structure Program |

Note:- struct is the keyword which we can't use as a variable.

Home | � | C Functions | � | Function with argument and return value |

Output is as:

Enter the Two No. for Sum :

10

10

Sum= 20

Home | � | C Functions | � | Function with no argument and return value |

Output is as:

Enter the Two No. for Sum :

10

10

Sum= 20

Home | � | C Functions | � | Function with argument and no return value |

Output is as:

Enter the Two No. for Sum :

10

10

Sum= 20

Home | � | C Functions | � | Function with no argument and no return value |

Output is as:

Enter the Two No. for Sum :

10

10

Sum= 20

Output is as :

Enter the Choice from Four Days...

S = Sunday

M = Monday

T = Tuesday

H = Thursday

S

Sunday

The marks obtained by a student in 5 different subjects are input through the keyboard. The student gets a division as per the following rules:

=> Percentage above or equal to 60 - First Division

=> Percentage between 50 and 59 - Second Division

=> Percentage between 40 and 49 - Third Division

=> Percentage less than 40 - Fail

Method: 1

Method: 2

=> Percentage above or equal to 60 - First Division

=> Percentage between 50 and 59 - Second Division

=> Percentage between 40 and 49 - Third Division

=> Percentage less than 40 - Fail

Method: 1

Method: 2

/*If the ages of Ram, sham and Ajay are input through the keyboard, write a program to determine the youngest of the three*/

**Output is as :**

Enter the three Ages of Ram,Sham and Ajay

14

17

19

Ram is Youngest

Enter the three Ages of Ram,Sham and Ajay

14

17

19

Ram is Youngest

/*Any Number is input through the keyboard. write a program to find out whether It is and Odd Number or Even Number.*/

**Output is as :**

Enter the Number

4

This is Even Number

Enter the Number

4

This is Even Number

Subscribe to:
Posts (Atom)