C Lab

Subscribe to C Lab feed
Updated: 6 hours 26 min ago

WAP to find the reverse of a number.

9 October 2015 - 4:50pm

WAP to find the reverse of a number.

WAP to find the sum of digits of the entered number.

9 October 2015 - 4:47pm

WAP to find the sum of digits of the entered number. 

WAP to check whether the entered number is prime or not.

9 October 2015 - 4:38pm

WAP to check whether the entered number is prime or not.

A positive integer which is only divisible by 1 and iself is known as prime number. For example: 13 is a prime number because it is only divisible by 1 and 13 but, 15 is not prime number because it is divisible by 1, 3, 5 and 15.

WAP to print the Fibonacci series.

9 October 2015 - 4:32pm

WAP to print the Fibonacci series.

WAP to print sum of even and odd numbers from 1 to N numbers.

9 October 2015 - 11:57am

WAP to print sum of even and odd numbers from 1 to N numbers. 

WAP to find the factorial of a given number.

9 October 2015 - 11:48am

WAP to find the factorial of a given number.

WAP to print the sum of all numbers up to a given number.

9 October 2015 - 11:45am

WAP to print the sum of all numbers up to a given number.

WAP that takes two operands and one operator from the user and perform the operation and prints the result by using Switch statement.

9 October 2015 - 11:36am

WAP that takes two operands and one operator from the user and perform the operation and prints the result by using Switch statement.

WAP that accepts marks of five subjects and finds percentage and prints grades according to the

9 October 2015 - 11:29am

WAP that accepts marks of five subjects and finds percentage and prints grades according to the 
following criteria: 
Between 90-100%--------------Print ‘A’ 
80-90%----------------------------Print ‘B’ 
60-80%---------------------------Print ‘C’ 
Below 60%----------------------Print ‘D’ 

WAP that tells whether a given year is a leap year or not.

9 October 2015 - 9:18am

WAP that tells whether a given year is a leap year or not. 

WAP that finds whether a given number is even or odd.

9 October 2015 - 8:43am

WAP that finds whether a given number is even or odd.

WAP to find the greatest of three numbers.

9 October 2015 - 8:35am

WAP to find the greatest of three numbers. 

WAP that checks whether the two numbers entered by the user are equal or not.

9 October 2015 - 8:31am

WAP that checks whether the two numbers entered by the user are equal or not.

WAP that swaps values of two variables using a third variable.

9 October 2015 - 8:26am

WAP that swaps values of two variables using a third variable.

WAP that accepts the temperature in Centigrade and converts into Fahrenheit using the formula C/5=(F-32)/9.

9 October 2015 - 8:20am

WAP that accepts the temperature in Centigrade and converts into Fahrenheit using the formula 
C/5=(F-32)/9.

WAP to calculate the area and circumference of a circle.

9 October 2015 - 8:15am

WAP to calculate the area and circumference of a circle.

WAP that calculates the Simple Interest and Compound Interest. The Principal , Amount, Rate of Interest and Time are entered through the keyboard.

9 October 2015 - 7:33am

WAP that calculates the Simple Interest and Compound Interest. The Principal , Amount, Rate of Interest and Time are entered through the keyboard.

WAP that accepts the marks of 5 subjects and finds the sum and percentage marks obtained by the student.

8 October 2015 - 9:50pm

WAP that accepts the marks of 5 subjects and finds the sum and percentage marks obtained by the student.