Let Us C problems Chapter 1 and 2

Note-Please Attempt problem from your own first.Otherwise click on the link question to get the solution.














____________________________________________________







____________________________________________________







____________________________________________________





Chapter 2 problem [C](b)

Any integer is input through the keyboard. Write a program to 


______________________________________________

Chapter 2 solutions problem[C](c)

Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not.(Hint: Use the % (modulus) operator

_____________________________________________________


_____________________________________________________


_____________________________________________________


Chapter 2  Problem [C][g]

Write a program to check whether a triangle is valid or not,



______________________________________________


______________________________________________

Chapter 2  Problem [C][i]

Given the length and breadth of a rectangle, write a program to find whether the area of the rectangle is greater than its




_____________________________________________

Chapter 2  Problem [C][j]

Given three points (x1, y1), (x2, y2) and (x3, y3), write a


______________________________________________

Chapter 2  Problem [C][k]

Given the coordinates (x, y) of a center of a circle and it’s radius,



______________________________________________

Chapter 2  problem[C][l]

Given a point (x, y), write a program to find out if it lies on the



______________________________________________


Chapter 2 Problem [F][b]

Any character is entered through the keyboard, write a


______________________________________________




Chapter 2 problem [F][c]

An Insurance company follows following rules to calculate premium.



______________________________________________

Chapter 2 solutions Problem[F][d]

Question-A certain grade of steel is graded according to the following conditions:


______________________________________________



____________________________________________


Chapter 2 Problem [F][f]

If the three sides of a triangle are entered through the keyboard, write a program to check whether the triangle is valid or not. The triangle is valid if the sum of two sides is greater than the largest of the three sides.



______________________________________________


________________________________________________

Chapter 2 Problem [F][g]

If the three sides of a triangle are entered through the


_____________________________________________


Chapter 2 Problem [F][i]

A university has the following rules for a student to qualify



_____________________________________________



1 comment: