Breaking News

Photo in News

Area and Circumference of circle- c program

This program will get value of Radius and then print the
  • Area of circle
  • Circumference of circle
Area of circle= pi*r*r
Circumference= 2*pi*r
Read more ...

C program that reads the customer number and power consumed and prints the amount to be paid by the customer.


Read more ...

Swap values of two variables without using third variable- c program


Read more ...

Area of Rectangle- c program

/*
Developed by deepak anand.
For more programs,
visit programming-stuff-4-u.blogspot.in
*/
#include<stdio.h>
#include<conio.h>

void main()
{
 int length,breadth,side;
 clrscr();  // Clear Screen

 printf("nEnter the Length of Rectangle : ");
 scanf("%d",&length);

 printf("nEnter the Breadth of Rectangle : ");
 scanf("%d",&breadth);

 area = length * breadth;

 printf("nArea of Rectangle : %d",area);
 getch();
}
Output :
Enter the Length of Rectangle  :3
Enter the Breadth of Rectangle :4
Area of Rectangle : 12

Read more ...

Greatest number between three (if else if)- c program


Read more ...

Greater number- c program



Read more ...

even or odd- c program



Read more ...

First program for c

/*
Developed by deepak anand.
For more programs,
visit programming-stuff-4-u.blogspot.in
*/
#include<stdio.h>
#include<conio.h>
void main()
{
Read more ...

Total Pageviews

  • Posts
  • Comments
  • Pageviews
Designed By Blogger Templates