Yes problem solved!!!
Ok now i will explain the codings (tax calculation:)
#include<stdio.h>
#include<conio.h>
void main()
{
int gst=0,total=0,price;
char a[20];
clrscr();
printf("\nGST and VAT Calculation");
printf("\n*******************************\n");
printf("\n Enter the name of Item:");
scanf("%s",&a);
printf("\nEnter the amount to calculate GST");
scanf("%d",&price);
gst=((price/100)*16);
total=price+gst;
printf("\n*********************************\n");
printf("\nItem price GST total");
printf("\n%s %d %d %d\n",a,price,gst,total);
printf("\n*****************************************\n");
printf("\nPrint the Bill\n");
printf("*********************************************");
getch();
}
So i hope you will be satisfied with this program.
please share and increase the views of our blog.
Thank you.
No comments:
Post a Comment