Powered By Blogger

Monday, May 4, 2009

C Programming

#include
#include
void main()
{
int a,b;
char rice,sugar;
clrscr();
printf("Enter the price of item & item name :");
scanf("%d",&a);
scanf("%s",rice);
printf("Enter the price of item & item name:");
scanf("%d",&b);
scanf("%s",sugar);
printf("**** LIST OF ITEM ****\n");
printf(" Item price\n");
printf("\nRice=%d%s",a,rice);
printf("\nSugar=%d%s",b,sugar);
getch();
}

0 comments:

About This Blog

This is an important blog about updated news about computer science and technology.

Blog Archive

Visitors

  © Free Blogger Templates Blogger Theme II by Ourblogtemplates.com 2008

Back to TOP