This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Friday, March 1, 2013

program C mencari nilai

#include<stdio.h>

int main()
{
int b;

printf("masukkan nilai= ");
scanf("%d",&b);

if(b => 80 && b <100)
printf("nilai A");
else if(b>70)
printf("nilai B");
else if(b>60)
printf("nilai C");
else if(b>40)
printf("nilai D");
else if(b >20 && b >0)
printf(" nialai E");

return 0;

}


Monday, February 11, 2013

program C luas persegi panjang

#include<stdio.h>
int main()
{
   int p,l,luas;
 
  printf("masukkan nilai panjang dan lebar");
  scanf("%d%d",&p,&l);

luas=p*l;

printf("luas persegi panjang  adalah%d",luas);

return 0;
}

PROGRAM SEDERHANA

#include<stdio.h>

int main()
{
    printf("selamat pagi");

    return 0;
}