出现错误[Error] previously used here和[Error] duplicate case value怎么解决
#include <stdio.h>
#include <stdlib.h>
int main()
{int a,b,c;
printf("Enter date (mm/dd/yy) :");
scanf("%d/%d/%d",&a,&b,&c);
if (((c%1==0)&&(c>=1))&&((a%1==0)&&(a>=1 && a<=12))&&((b>=1 && b<=31)&&(b%1==0)))
{switch (a)
{case 1: {switch(b)
case 1 : printf("Dated this 1st day of January,%d",c);
break;
case 2: printf("Dated this 2nd day of January,%d",c);
break;
case 3: printf("Dated this 3rd day of January,%d",c);
break;
case 4: printf("Dated this 4th day of January,%d",c);
break;
case 5: printf("Dated this 5th day of January,%d",c);
break;
case 6: printf("Dated this 6th day of January,%d",c);
break;
case 7: printf("Dated this 7th day of January,%d",c);
break;
case 8: printf("Dated this 8th day of January,%d",c);
break;
case 9: printf("Dated this 9th day of January,%d",c);
break;
case 10: printf("Dated this 10th day of January,%d",c);
break;
case 11: printf("Dated this 11th day of January,%d",c);
break;
case 12: printf("Dated this 12th day of January,%d",c);
break;
case 13: printf("Dated this 13th day of January,%d",c);
break;
case 14: printf("Dated this 14th day of January,%d",c);
break;
case 15: printf("Dated this 15th day of January,%d",c);
break;
case 16: printf("Dated this 16th day of January,%d",c);
break;
case 17: printf("Dated this 17th day of January,%d",c);
break;
case 18: printf("Dated this 18th day of January,%d",c);
break;
case 19: printf("Dated this 19th day of January,%d",c);
break;
case 20: printf("Dated this 20th day of January,%d",c);
break;
case 21: printf("Dated this 21th day of January,%d",c);
break;
case 22: printf("Dated this 22th day of January,%d",c);
break;
case 23: printf("Dated this 23th day of January,%d",c);
break;
case 24: printf("Dated this 24th day of January,%d",c);
break;
case 25: printf("Dated this 25th day of January,%d",c);
break;
case 26: printf("Dated this 26th day of January,%d",c);
break;
case 27: printf("Dated this 27th day of January,%d",c);
break;
case 28: printf("Dated this 28th day of January,%d",c);
break;
case 29: printf("Dated this 29th day of January,%d",c);
break;
case 30: printf("Dated this 30th day of January,%d",c);
break;
case 31: printf("Dated this 31th day of January,%d",c);
break;
default: printf("Input error!");}
break;
if ((c%4==0&&c%100!=0) || (c%400==0))
{case 2:{switch(b)
case 1 : printf("Dated this 1st day of February,%d",c);
break;
case 2: printf("Dated this 2nd day of February,%d",c);
break;
case 3: printf("Dated this 3rd day of February,%d",c);
break;
case 4: printf("Dated this 4th day of February,%d",c);
break;
case 5: printf("Dated this 5th day of February,%d",c);
break;
case 6: printf("Dated this 6th day of February,%d",c);
break;
case 7: printf("Dated this 7th day of February,%d",c);
break;
case 8: printf("Dated this 8th day of February,%d",c);
break;
case 9: printf("Dated this 9th day of February,%d",c);
break;
case 10: printf("Dated this 10th day of February,%d",c);
break;
case 11: printf("Dated this 11th day of February,%d",c);
break;
case 12: printf("Dated this 12th day of February,%d",c);
break;
case 13: printf("Dated this 13th day of February,%d",c);
break;
case 14: printf("Dated this 14th day of February,%d",c);
break;
case 15: printf("Dated this 15th day of February,%d",c);
break;
case 16: printf("Dated this 16th day of February,%d",c);
break;
case 17: printf("Dated this 17th day of February,%d",c);
break;
case 18: printf("Dated this 18th day of February,%d",c);
break;
case 19: printf("Dated this 19th day of February,%d",c);
break;
case 20: printf("Dated this 20th day of February,%d",c);
break;
case 21: printf("Dated this 21th day of February,%d",c);
break;
case 22: printf("Dated this 22th day of February,%d",c);
break;
case 23: printf("Dated this 23th day of February,%d",c);
break;
case 24: printf("Dated this 24th day of February,%d",c);
break;
case 25: printf("Dated this 25th day of February,%d",c);
break;
case 26: printf("Dated this 26th day of February,%d",c);
break;
case 27: printf("Dated this 27th day of February,%d",c);
break;
case 28: printf("Dated this 28th day of February,%d",c);
break;
case 29: printf("Dated this 29th day of February,%d",c);
break;
default: printf("Input error!");}}
else
{case 2:{switch(b)
case 1 : printf("Dated this 1st day of February,%d",c);
break;
case 2: printf("Dated this 2nd day of February,%d",c);
break;
case 3: printf("Dated this 3rd day of February,%d",c);
break;
case 4: printf("Dated this 4th day of February,%d",c);
break;
case 5: printf("Dated this 5th day of February,%d",c);
break;
case 6: printf("Dated this 6th day of February,%d",c);
break;
case 7: printf("Dated this 7th day of February,%d",c);
break;
case 8: printf("Dated this 8th day of February,%d",c);
break;
case 9: printf("Dated this 9th day of February,%d",c);
break;
case 10: printf("Dated this 10th day of February,%d",c);
break;
case 11: printf("Dated this 11th day of February,%d",c);
break;
case 12: printf("Dated this 12th day of February,%d",c);
break;
case 13: printf("Dated this 13th day of February,%d",c);
break;
case 14: printf("Dated this 14th day of February,%d",c);
break;
case 15: printf("Dated this 15th day of February,%d",c);
break;
case 16: printf("Dated this 16th day of February,%d",c);
break;
case 17: printf("Dated this 17th day of February,%d",c);
break;
case 18: printf("Dated this 18th day of February,%d",c);
break;
case 19: printf("Dated this 19th day of February,%d",c);
break;
case 20: printf("Dated this 20th day of February,%d",c);
break;
case 21: printf("Dated this 21th day of February,%d",c);
break;
case 22: printf("Dated this 22th day of February,%d",c);
break;
case 23: printf("Dated this 23th day of February,%d",c);
break;
case 24: printf("Dated this 24th day of February,%d",c);
break;
case 25: printf("Dated this 25th day of February,%d",c);
break;
case 26: printf("Dated this 26th day of February,%d",c);
break;
case 27: printf("Dated this 27th day of February,%d",c);
break;
case 28: printf("Dated this 28th day of February,%d",c);
break;
case 29: printf("Dated this 29th day of February,%d",c);
break;
default: printf("Input error!");}}
break;
case 3:{switch(b)
case 1 : printf("Dated this 1st day of March,%d",c);
break;
case 2: printf("Dated this 2nd day of March,%d",c);
break;
case 3: printf("Dated this 3rd day of March,%d",c);
break;
case 4: printf("Dated this 4th day of March,%d",c);
break;
case 5: printf("Dated this 5th day of March,%d",c);
break;
case 6: printf("Dated this 6th day of March,%d",c);
break;
case 7: printf("Dated this 7th day of March,%d",c);
break;
case 8: printf("Dated this 8th day of March,%d",c);
break;
case 9: printf("Dated this 9th day of March,%d",c);
break;
case 10: printf("Dated this 10th day of March,%d",c);
break;
case 11: printf("Dated this 11th day of March,%d",c);
break;
case 12: printf("Dated this 12th day of March,%d",c);
break;
case 13: printf("Dated this 13th day of March,%d",c);
break;
case 14: printf("Dated this 14th day of March,%d",c);
break;
case 15: printf("Dated this 15th day of March,%d",c);
break;
case 16: printf("Dated this 16th day of March,%d",c);
break;
case 17: printf("Dated this 17th day of March,%d",c);
break;
case 18: printf("Dated this 18th day of March,%d",c);
break;
case 19: printf("Dated this 19th day of March,%d",c);
break;
case 20: printf("Dated this 20th day of March,%d",c);
break;
case 21: printf("Dated this 21th day of March,%d",c);
break;
case 22: printf("Dated this 22th day of March,%d",c);
break;
case 23: printf("Dated this 23th day of March,%d",c);
break;
case 24: printf("Dated this 24th day of March,%d",c);
break;
case 25: printf("Dated this 25th day of March,%d",c);
break;
case 26: printf("Dated this 26th day of March,%d",c);
break;
case 27: printf("Dated this 27th day of March,%d",c);
break;
case 28: printf("Dated this 28th day of March,%d",c);
break;
case 29: printf("Dated this 29th day of March,%d",c);
break;
case 30: printf("Dated this 30th day of March,%d",c);
break;
case 31: printf("Dated this 31th day of March,%d",c);
break;
default: printf("Input error!");}
break;
case 4:{switch(b)
case 1 : printf("Dated this 1st day of April,%d",c);
break;
case 2: printf("Dated this 2nd day of April,%d",c);
break;
case 3: printf("Dated this 3rd day of April,%d",c);
break;
case 4: printf("Dated this 4th day of April,%d",c);
break;
case 5: printf("Dated this 5th day of April,%d",c);
break;
case 6: printf("Dated this 6th day of April,%d",c);
break;
case 7: printf("Dated this 7th day of April,%d",c);
break;
case 8: printf("Dated this 8th day of April,%d",c);
break;
case 9: printf("Dated this 9th day of April,%d",c);
break;
case 10: printf("Dated this 10th day of April,%d",c);
break;
case 11: printf("Dated this 11th day of April,%d",c);
break;
case 12: printf("Dated this 12th day of April,%d",c);
break;
case 13: printf("Dated this 13th day of April,%d",c);
break;
case 14: printf("Dated this 14th day of April,%d",c);
break;
case 15: printf("Dated this 15th day of April,%d",c);
break;
case 16: printf("Dated this 16th day of April,%d",c);
break;
case 17: printf("Dated this 17th day of April,%d",c);
break;
case 18: printf("Dated this 18th day of April,%d",c);
break;
case 19: printf("Dated this 19th day of April,%d",c);
break;
case 20: printf("Dated this 20th day of April,%d",c);
break;
case 21: printf("Dated this 21th day of April,%d",c);
break;
case 22: printf("Dated this 22th day of April,%d",c);
break;
case 23: printf("Dated this 23th day of April,%d",c);
break;
case 24: printf("Dated this 24th day of April,%d",c);
break;
case 25: printf("Dated this 25th day of April,%d",c);
break;
case 26: printf("Dated this 26th day of April,%d",c);
break;
case 27: printf("Dated this 27th day of April,%d",c);
break;
case 28: printf("Dated this 28th day of April,%d",c);
break;
case 29: printf("Dated this 29th day of April,%d",c);
break;
case 30: printf("Dated this 30th day of April,%d",c);
break;
default: printf("Input error!");}
break;
case 5:{switch(b)
case 1 : printf("Dated this 1st day of May,%d",c);
break;
case 2: printf("Dated this 2nd day of May,%d",c);
break;
case 3: printf("Dated this 3rd day of May,%d",c);
break;
case 4: printf("Dated this 4th day of May,%d",c);
break;
case 5: printf("Dated this 5th day of May,%d",c);
break;
case 6: printf("Dated this 6th day of May,%d",c);
break;
case 7: printf("Dated this 7th day of May,%d",c);
break;
case 8: printf("Dated this 8th day of May,%d",c);
break;
case 9: printf("Dated this 9th day of May,%d",c);
break;
case 10: printf("Dated this 10th day of May,%d",c);
break;
case 11: printf("Dated this 11th day of May,%d",c);
break;
case 12: printf("Dated this 12th day of May,%d",c);
break;
case 13: printf("Dated this 13th day of May,%d",c);
break;
case 14: printf("Dated this 14th day of May,%d",c);
break;
case 15: printf("Dated this 15th day of May,%d",c);
break;
case 16: printf("Dated this 16th day of May,%d",c);
break;
case 17: printf("Dated this 17th day of May,%d",c);
break;
case 18: printf("Dated this 18th day of May,%d",c);
break;
case 19: printf("Dated this 19th day of May,%d",c);
break;
case 20: printf("Dated this 20th day of May,%d",c);
break;
case 21: printf("Dated this 21th day of May,%d",c);
break;
case 22: printf("Dated this 22th day of May,%d",c);
break;
case 23: printf("Dated this 23th day of May,%d",c);
break;
case 24: printf("Dated this 24th day of May,%d",c);
break;
case 25: printf("Dated this 25th day of May,%d",c);
break;
case 26: printf("Dated this 26th day of May,%d",c);
break;
case 27: printf("Dated this 27th day of May,%d",c);
break;
case 28: printf("Dated this 28th day of May,%d",c);
break;
case 29: printf("Dated this 29th day of May,%d",c);
break;
case 30: printf("Dated this 30th day of May,%d",c);
break;
case 31: printf("Dated this 31th day of May,%d",c);
break;
default: printf("Input error!");}
break;
case 6:{switch(b)
case 1 : printf("Dated this 1st day of June,%d",c);
break;
case 2: printf("Dated this 2nd day of June,%d",c);
break;
case 3: printf("Dated this 3rd day of June,%d",c);
break;
case 4: printf("Dated this 4th day of June,%d",c);
break;
case 5: printf("Dated this 5th day of June,%d",c);
break;
case 6: printf("Dated this 6th day of June,%d",c);
break;
case 7: printf("Dated this 7th day of June,%d",c);
break;
case 8: printf("Dated this 8th day of June,%d",c);
break;
case 9: printf("Dated this 9th day of June,%d",c);
break;
case 10: printf("Dated this 10th day of June,%d",c);
break;
case 11: printf("Dated this 11th day of June,%d",c);
break;
case 12: printf("Dated this 12th day of June,%d",c);
break;
case 13: printf("Dated this 13th day of June,%d",c);
break;
case 14: printf("Dated this 14th day of June,%d",c);
break;
case 15: printf("Dated this 15th day of June,%d",c);
break;
case 16: printf("Dated this 16th day of June,%d",c);
break;
case 17: printf("Dated this 17th day of June,%d",c);
break;
case 18: printf("Dated this 18th day of June,%d",c);
break;
case 19: printf("Dated this 19th day of June,%d",c);
break;
case 20: printf("Dated this 20th day of June,%d",c);
break;
case 21: printf("Dated this 21th day of June,%d",c);
break;
case 22: printf("Dated this 22th day of June,%d",c);
break;
case 23: printf("Dated this 23th day of June,%d",c);
break;
case 24: printf("Dated this 24th day of June,%d",c);
break;
case 25: printf("Dated this 25th day of June,%d",c);
break;
case 26: printf("Dated this 26th day of June,%d",c);
break;
case 27: printf("Dated this 27th day of June,%d",c);
break;
case 28: printf("Dated this 28th day of June,%d",c);
break;
case 29: printf("Dated this 29th day of June,%d",c);
break;
case 30: printf("Dated this 30th day of June,%d",c);
break;
default: printf("Input error!");}
break;
case 7:
{switch(b)
case 1 : printf("Dated this 1st day of July,%d",c);
break;
case 2: printf("Dated this 2nd day of July,%d",c);
break;
case 3: printf("Dated this 3rd day of July,%d",c);
break;
case 4: printf("Dated this 4th day of July,%d",c);
break;
case 5: printf("Dated this 5th day of July,%d",c);
break;
case 6: printf("Dated this 6th day of July,%d",c);
break;
case 7: printf("Dated this 7th day of July,%d",c);
break;
case 8: printf("Dated this 8th day of July,%d",c);
break;
case 9: printf("Dated this 9th day of July,%d",c);
break;
case 10: printf("Dated this 10th day of July,%d",c);
break;
case 11: printf("Dated this 11th day of July,%d",c);
break;
case 12: printf("Dated this 12th day of July,%d",c);
break;
case 13: printf("Dated this 13th day of July,%d",c);
break;
case 14: printf("Dated this 14th day of July,%d",c);
break;
case 15: printf("Dated this 15th day of July,%d",c);
break;
case 16: printf("Dated this 16th day of July,%d",c);
break;
case 17: printf("Dated this 17th day of July,%d",c);
break;
case 18: printf("Dated this 18th day of July,%d",c);
break;
case 19: printf("Dated this 19th day of July,%d",c);
break;
case 20: printf("Dated this 20th day of July,%d",c);
break;
case 21: printf("Dated this 21th day of July,%d",c);
break;
case 22: printf("Dated this 22th day of July,%d",c);
break;
case 23: printf("Dated this 23th day of July,%d",c);
break;
case 24: printf("Dated this 24th day of July,%d",c);
break;
case 25: printf("Dated this 25th day of July,%d",c);
break;
case 26: printf("Dated this 26th day of July,%d",c);
break;
case 27: printf("Dated this 27th day of July,%d",c);
break;
case 28: printf("Dated this 28th day of July,%d",c);
break;
case 29: printf("Dated this 29th day of July,%d",c);
break;
case 30: printf("Dated this 30th day of July,%d",c);
break;
case 31: printf("Dated this 31th day of July,%d",c);
break;
default: printf("Input error!");}
break;
case 8:
{switch(b)
case 1 : printf("Dated this 1st day of August,%d",c);
break;
case 2: printf("Dated this 2nd day of August,%d",c);
break;
case 3: printf("Dated this 3rd day of August,%d",c);
break;
case 4: printf("Dated this 4th day of August,%d",c);
break;
case 5: printf("Dated this 5th day of August,%d",c);
break;
case 6: printf("Dated this 6th day of August,%d",c);
break;
case 7: printf("Dated this 7th day of August,%d",c);
break;
case 8: printf("Dated this 8th day of August,%d",c);
break;
case 9: printf("Dated this 9th day of August,%d",c);
break;
case 10: printf("Dated this 10th day of August,%d",c);
break;
case 11: printf("Dated this 11th day of August,%d",c);
break;
case 12: printf("Dated this 12th day of August,%d",c);
break;
case 13: printf("Dated this 13th day of August,%d",c);
break;
case 14: printf("Dated this 14th day of August,%d",c);
break;
case 15: printf("Dated this 15th day of August,%d",c);
break;
case 16: printf("Dated this 16th day of August,%d",c);
break;
case 17: printf("Dated this 17th day of August,%d",c);
break;
case 18: printf("Dated this 18th day of August,%d",c);
break;
case 19: printf("Dated this 19th day of August,%d",c);
break;
case 20: printf("Dated this 20th day of August,%d",c);
break;
case 21: printf("Dated this 21th day of August,%d",c);
break;
case 22: printf("Dated this 22th day of August,%d",c);
break;
case 23: printf("Dated this 23th day of August,%d",c);
break;
case 24: printf("Dated this 24th day of August,%d",c);
break;
case 25: printf("Dated this 25th day of August,%d",c);
break;
case 26: printf("Dated this 26th day of August,%d",c);
break;
case 27: printf("Dated this 27th day of August,%d",c);
break;
case 28: printf("Dated this 28th day of August,%d",c);
break;
case 29: printf("Dated this 29th day of August,%d",c);
break;
case 30: printf("Dated this 30th day of August,%d",c);
break;
case 31: printf("Dated this 31th day of August,%d",c);
break;
default: printf("Input error!");}
break;
case 9:
{switch(b)
case 1 : printf("Dated this 1st day of September,%d",c);
break;
case 2: printf("Dated this 2nd day of September,%d",c);
break;
case 3: printf("Dated this 3rd day of September,%d",c);
break;
case 4: printf("Dated this 4th day of September,%d",c);
break;
case 5: printf("Dated this 5th day of September,%d",c);
break;
case 6: printf("Dated this 6th day of September,%d",c);
break;
case 7: printf("Dated this 7th day of September,%d",c);
break;
case 8: printf("Dated this 8th day of September,%d",c);
break;
case 9: printf("Dated this 9th day of September,%d",c);
break;
case 10: printf("Dated this 10th day of September,%d",c);
break;
case 11: printf("Dated this 11th day of September,%d",c);
break;
case 12: printf("Dated this 12th day of September,%d",c);
break;
case 13: printf("Dated this 13th day of September,%d",c);
break;
case 14: printf("Dated this 14th day of September,%d",c);
break;
case 15: printf("Dated this 15th day of September,%d",c);
break;
case 16: printf("Dated this 16th day of September,%d",c);
break;
case 17: printf("Dated this 17th day of September,%d",c);
break;
case 18: printf("Dated this 18th day of September,%d",c);
break;
case 19: printf("Dated this 19th day of September,%d",c);
break;
case 20: printf("Dated this 20th day of September,%d",c);
break;
case 21: printf("Dated this 21th day of September,%d",c);
break;
case 22: printf("Dated this 22th day of September,%d",c);
break;
case 23: printf("Dated this 23th day of September,%d",c);
break;
case 24: printf("Dated this 24th day of September,%d",c);
break;
case 25: printf("Dated this 25th day of September,%d",c);
break;
case 26: printf("Dated this 26th day of September,%d",c);
break;
case 27: printf("Dated this 27th day of September,%d",c);
break;
case 28: printf("Dated this 28th day of September,%d",c);
break;
case 29: printf("Dated this 29th day of September,%d",c);
break;
case 30: printf("Dated this 30th day of September,%d",c);
break;
default: printf("Input error!");}
break;
case 10:
{switch(b)
case 1 : printf("Dated this 1st day of October,%d",c);
break;
case 2: printf("Dated this 2nd day of October,%d",c);
break;
case 3: printf("Dated this 3rd day of October,%d",c);
break;
case 4: printf("Dated this 4th day of October,%d",c);
break;
case 5: printf("Dated this 5th day of October,%d",c);
break;
case 6: printf("Dated this 6th day of October,%d",c);
break;
case 7: printf("Dated this 7th day of October,%d",c);
break;
case 8: printf("Dated this 8th day of October,%d",c);
break;
case 9: printf("Dated this 9th day of October,%d",c);
break;
case 10: printf("Dated this 10th day of October,%d",c);
break;
case 11: printf("Dated this 11th day of October,%d",c);
break;
case 12: printf("Dated this 12th day of October,%d",c);
break;
case 13: printf("Dated this 13th day of October,%d",c);
break;
case 14: printf("Dated this 14th day of October,%d",c);
break;
case 15: printf("Dated this 15th day of October,%d",c);
break;
case 16: printf("Dated this 16th day of October,%d",c);
break;
case 17: printf("Dated this 17th day of October,%d",c);
break;
case 18: printf("Dated this 18th day of October,%d",c);
break;
case 19: printf("Dated this 19th day of October,%d",c);
break;
case 20: printf("Dated this 20th day of October,%d",c);
break;
case 21: printf("Dated this 21th day of October,%d",c);
break;
case 22: printf("Dated this 22th day of October,%d",c);
break;
case 23: printf("Dated this 23th day of October,%d",c);
break;
case 24: printf("Dated this 24th day of October,%d",c);
break;
case 25: printf("Dated this 25th day of October,%d",c);
break;
case 26: printf("Dated this 26th day of October,%d",c);
break;
case 27: printf("Dated this 27th day of October,%d",c);
break;
case 28: printf("Dated this 28th day of October,%d",c);
break;
case 29: printf("Dated this 29th day of October,%d",c);
break;
case 30: printf("Dated this 30th day of October,%d",c);
break;
case 31: printf("Dated this 31th day of October,%d",c);
break;
default: printf("Input error!");}
break;
case 11:
{switch(b)
case 1 : printf("Dated this 1st day of November,%d",c);
break;
case 2: printf("Dated this 2nd day of November,%d",c);
break;
case 3: printf("Dated this 3rd day of November,%d",c);
break;
case 4: printf("Dated this 4th day of November,%d",c);
break;
case 5: printf("Dated this 5th day of November,%d",c);
break;
case 6: printf("Dated this 6th day of November,%d",c);
break;
case 7: printf("Dated this 7th day of November,%d",c);
break;
case 8: printf("Dated this 8th day of November,%d",c);
break;
case 9: printf("Dated this 9th day of November,%d",c);
break;
case 10: printf("Dated this 10th day of November,%d",c);
break;
case 11: printf("Dated this 11th day of November,%d",c);
break;
case 12: printf("Dated this 12th day of November,%d",c);
break;
case 13: printf("Dated this 13th day of November,%d",c);
break;
case 14: printf("Dated this 14th day of November,%d",c);
break;
case 15: printf("Dated this 15th day of November,%d",c);
break;
case 16: printf("Dated this 16th day of November,%d",c);
break;
case 17: printf("Dated this 17th day of November,%d",c);
break;
case 18: printf("Dated this 18th day of November,%d",c);
break;
case 19: printf("Dated this 19th day of November,%d",c);
break;
case 20: printf("Dated this 20th day of November,%d",c);
break;
case 21: printf("Dated this 21th day of November,%d",c);
break;
case 22: printf("Dated this 22th day of November,%d",c);
break;
case 23: printf("Dated this 23th day of November,%d",c);
break;
case 24: printf("Dated this 24th day of November,%d",c);
break;
case 25: printf("Dated this 25th day of November,%d",c);
break;
case 26: printf("Dated this 26th day of November,%d",c);
break;
case 27: printf("Dated this 27th day of November,%d",c);
break;
case 28: printf("Dated this 28th day of November,%d",c);
break;
case 29: printf("Dated this 29th day of November,%d",c);
break;
case 30: printf("Dated this 30th day of November,%d",c);
break;
default: printf("Input error!");}
break;
case 12:
{switch(b)
case 1 : printf("Dated this 1st day of December,%d",c);
break;
case 2: printf("Dated this 2nd day of December,%d",c);
break;
case 3: printf("Dated this 3rd day of December,%d",c);
break;
case 4: printf("Dated this 4th day of December,%d",c);
break;
case 5: printf("Dated this 5th day of December,%d",c);
break;
case 6: printf("Dated this 6th day of December,%d",c);
break;
case 7: printf("Dated this 7th day of December,%d",c);
break;
case 8: printf("Dated this 8th day of December,%d",c);
break;
case 9: printf("Dated this 9th day of December,%d",c);
break;
case 10: printf("Dated this 10th day of December,%d",c);
break;
case 11: printf("Dated this 11th day of December,%d",c);
break;
case 12: printf("Dated this 12th day of December,%d",c);
break;
case 13: printf("Dated this 13th day of December,%d",c);
break;
case 14: printf("Dated this 14th day of December,%d",c);
break;
case 15: printf("Dated this 15th day of December,%d",c);
break;
case 16: printf("Dated this 16th day of December,%d",c);
break;
case 17: printf("Dated this 17th day of December,%d",c);
break;
case 18: printf("Dated this 18th day of December,%d",c);
break;
case 19: printf("Dated this 19th day of December,%d",c);
break;
case 20: printf("Dated this 20th day of December,%d",c);
break;
case 21: printf("Dated this 21th day of December,%d",c);
break;
case 22: printf("Dated this 22th day of December,%d",c);
break;
case 23: printf("Dated this 23th day of December,%d",c);
break;
case 24: printf("Dated this 24th day of December,%d",c);
break;
case 25: printf("Dated this 25th day of December,%d",c);
break;
case 26: printf("Dated this 26th day of December,%d",c);
break;
case 27: printf("Dated this 27th day of December,%d",c);
break;
case 28: printf("Dated this 28th day of December,%d",c);
break;
case 29: printf("Dated this 29th day of December,%d",c);
break;
case 30: printf("Dated this 30th day of December,%d",c);
break;
case 31: printf("Dated this 31th day of December,%d",c);
break;
default: printf("Input error!");}
break;
default: printf("Input error!");}}
else
{printf("Input error!\n");}
return 0;
}
相关推荐
delphi编译错误.txt
****************************** * 编 译 错 误 信 息 * ******************************* '''';'''' not allowed before ''''ELSE'''' ElSE前不允许有“;” '''''''' clause not allowed in OLE automation section 在OLE自动区段不允许“”子句 '''''''' is not a type identifier 不是类型标识符 '''''''' not previously declared as a PROPERTY 前面没有说明PROPERTY ''''GOTO '''' leads into or out of TRY statement GOTO 进入或超出TRY语句的范围 clause expected, but found 要求子句,但出现 16-Bit fixup encountered in object file '''''''' 在对象文件遇到16位修复 486/487 instructions not enabled 不能用486/487指令 Abstract methods must be virtual or dynamic 抽象方法必须为虚拟的或动态的 Array type required 需要数组类型 Assignment to FOR-Loop variable '''''''' 给FOR循环变量赋值 Bad argument type in variable type array constructor 在变量类型数组结构中不正确的参数类型 Bad file format '''''''' 错误的文件格式 Bad file format: 错误的文件格式 Bad global symbol definition: '''''''' in object file '''''''' 对象文件''''''''中错误的全局符号定义'''''''' Bad unit format: 错误的单元格式 BREAK or CONTINUE outside of loop BREAK或CONTINUE超出循环 Cannot add or subtract relocatable symbols 不能增加或减少可重置的符号 Cannot assign to a read-only property 不能指定只读属性 Cannot BREAK, CONTINUE or EXIT out of a FINALLY clause 超出FINALLY子句的范围,不能使用BREAK,CONTINUE或EXIT语句 Cannot initialize local variables 不能初始化局部变量 Cannot initialize multiple variables 不能初始化多个变量 Cannot initialize thread local variables 不能初始化线程局部变量 Cannot override a static method 不能覆盖静态方法 Cannot read a write-only property 不能读取只写属性 Case label outside of range of case expression CASE标号超出了CASE表达式的范围 Circular unit reference to 对单元循环引用 Class already has a default property 类已具有默认的属性 Class does not have a default property 类没有默认的属性 Class or object types only allowed in type section 在类型区段只允许有类或对象类型 Class type required 需要类类型 Close error on 文件关闭错误 Compile terminated by user 用户中止编译 Constant expected 要求常量 Constant expression expected 要求常量表达式 Constant expression violates subrange bounds 常量表达式超出子界范围 Constant object cannot be passed as var parameter 常量对象不能作为变量参数传递 Constant or type identifier expected 要求常量或类型标识符 Constants cannot be used as open array arguments 常量不能用作打开数组参数 Constructing instance of '''''''' containing abstract methods 构造的实体包含抽象的方法 Could not compile used unit '''''''' 不能用单元编译 Could not create output file 不能建立输出文件 Could not load RLINK32.DLL 不能加载RLINK32.DLL Data type too large: exceeds 2 GB 数据类型太大:超过2GB Declaration of differs from previous declaration 的说明与先前的说明不同 Default property must be an array property 默认的属性必须为数组属性 Default values must be of ordinal, pointer or small set type 默认的值必须为序数、指针或小集类型 Destination cannot be assigned to 目标不能指定 Destination is inaccessible 目标不能存取 Dispid '''''''' already used by '''''''' DISPID标识号已被使用 Dispid clause only allowed in OLE automation section DISPID子句只能在OLE自动区段中使用 Division by zero 除数为零 Duplicate case label CASE标号重复 Duplicate tag value 重复的标志值 Dynamic method or message handler not allowed here 这里不允许有动态方法或信息处理程序 Dynamic methods and message handlers not allowed in OLE automation section在OLE自动区段不允许有动态方法或消息处理程序 Element 0 inaccessible - use ''''Length'''' or ''''SetLength'''' 元素0不能存取-使用LENGTH或SETLENGTH Error in numeric constant 数值常量错误 EXCEPT or FINALLY expected 要求EXCEPT或FINALLY EXPORTS allowed only at global scope EXPORTS只允许在全局范围使用 Expression has no value 表达式没有值 Expression too complicated 表达式太复杂 Field definition not allowed in OLE automation section 在OLE自动区段中不允许域定义 Field definition not allowed after methods or properties 在方法或属性后不允许域定义 Field or method identifier expected 要求域或方法标识符 File not found: 文件没有找到 File type not allowed here 这儿不允许文件类型 For loop control variable must be simple local variable FOR循环控制变量必须为简单局部变量 For loop control variable must have ordinal type FOR循环控制变量必须为序数类型 FOR or WHILE loop executes zero times - deleted FOR或WHILE循环执行零次-删除 FOR-Loop variable '''''''' cannot be passed as var parameter FOR循环变量不能作为参数传递 FOR-Loop variable '''''''' may be undefined after loop 在循环后的FOR循环变量是不确定的 Function needs result type 函数需要结果类型 Identifier redeclared: '''''''' 标识符重复说明 Illegal character in input file: '''''''' ($) 在输入文件中的非法字符'''''''' Illegal message method index 非法的消息方法指针 Illegal reference to symbol '''''''' in object file '''''''' 在对象文件中对符号的非法引用 Illegal type in OLE automation section: '''''''' 在OLE自动区段中的非法类型 Illegal type in Read/Readln statement 在Read/Readln语句中的非法类型 Illegal type in Write/Writeln statement 在Write/Writeln语句中的非法类型 Inaccessible value 不可存取的值 Incompatible types: '''''''' and '''''''' 不兼容的类型和 Incompatible types: 不兼容的类型 Inline assembler stack overflow 内联汇编溢出 Inline assembler syntax error 内联汇编语法错误 Instance variable '''''''' inaccessible here 实体变量在这里不能存取
mysql error:#1062 Duplicate entry ‘***′ for key 1问题解决方法
今天公司的一个网站突然提示MySQL Error Duplicate entry '96624' for key 1错误,经过分析这个问题是由于mysql表中的一个id自增长字段导致。
彻底解决usb错误-device descriptor read/64, error -62
彻底解决usb错误 一插上usb就报如下错误: / # usb 1-1: new full speed USB device using s3c2410-ohci and address 2 usb 1-1: device descriptor read/64, error -62 usb 1-1: device descriptor read/64, error -62 usb 1-1: new full speed USB device using s3c2410-ohci and address 3 usb 1-1: device descriptor read/64, error -62 usb 1-1: device descriptor read/64, error -62 usb 1-1: new full speed USB device using s3c2410-ohci and address 4 usb 1-1: device not accepting address 4, error -62 usb 1-1: new full speed USB device using s3c2410-ohci and address 5 usb 1-1: device not accepting address 5, error -62 hub 1-0:1.0: unable to enumerate USB device on port 1
Last_Errno: 1062,Last_Error: Error Duplicate entry
Last_Errno: 1062,Last_Error: Error Duplicate entry ... for key PRIMARY
Mysql错误1366 - Incorrect integer value解决方法
主要介绍了Mysql错误1366 - Incorrect integer value解决方法,本文通过修改字段默认值解决,需要的朋友可以参考下


