Ad
- WAP to input two numbers and find the sum.
Solution: C Python PHP Java C#
- WAP to input two numbers and find multiplication.
Solution: C Python PHP Java
- WAP to input a number and calculate its square and cube.
Solution: C Python Java
- WAP to input the length and breadth of a rectangle and calculate its area. Area = Length * Breadth.
Solution: C Python
- WAP to input the radius and calculate area of circle and circumference of a circle. Area of circle = 3.14*r*r, Circumference of circle = 2*3.14*r
Solution: C Python
- WAP to input radius and height of a cylinder and calculate the volume of the cylinder. Volume=3.14*r*r*h
Solution: C Python
- WAP to input principal, rate, time, and calculate simple interest. Simple Interest = Principal * Rate * Time / 100.
Solution: C Python
- WAP to input 5 subject marks of a student and find total marks and percentage obtained by the student.
Solution: C Python
- WAP to convert temperature from Fahrenheit to Celsius. C=(F-32)*5/9.
Solution: C Python PHP Java
- WAP to convert temperature from Celsius to Fahrenheit. F=C*9/5+32.
Solution: C Python
- WAP to input distance (in km) and convert in meters, centimetres, and inches.
Solution: C Python Java
- WAP to input two numbers, divide them and display its quotient and remainder.
- WAP to input two numbers and swap them.
Solution: C Python
- WAP to input two numbers and swap them without using a 3rd variable.
Solution: C Python
- WAP to input minutes and convert in hours and minutes.
Solution: C Python
- WAP to input the total number of days and convert it into years, months, weeks, and days.
Solution: C Python
Advertisement
C Language Feedback, Questions, Suggestions, Discussion.