Posts

ASCII CODE OF CHARACTERS

Image
       JAYA ENGINEERING COLLEGE MENTOR : SAM                 ( JAYA ENGINEERING COLLEGE) PROJECT DONE BY                    SURESH KRISHNA                     110817104078 #include<stdio.h> int main () { char ch; printf("****ASCII FORCHARACTER****"); printf("\n ENTER THE CHARACTER: "); scanf("%c",&ch); printf("\n ASCII FOR GIVE CHARACTER:%d",ch); return 0; }

ATM TRANSACTION

Image
        JAYA ENGINEERING COLLEGE MENTOR : SAM                  ( JAYA ENGINEERING COLLEGE) PROJECT DONE BY UKASHWARAN .D (CSE - B) 110817104085 #include <stdio.h> long amount=20000,deposit,withdraw,user_no[10],person=20000; int choice, pin, k,transfier; char transaction ='y',name[25]; int main()   {     while (pin != 1108)     {   printf("ENTER YOUR SECRET PIN NUMBER:");     scanf("%d", &pin);           if (pin != 1108)         {     printf("PLEASE ENTER VALID PASSWORD\n");      }   }   do   {   printf("********Welcome to ATM Service**************\n"); printf("1. Check Balance\n"); printf("2. Withdraw Cash\n"); printf("3. Deposit Cash\n"); printf("4. T...

AUTO DOGTAG GENERATING IN C PROGRAMMING

Image
         JAYA ENGINEERING COLLEGE MENTOR : SAM                 ( JAYA ENGINEERING COLLEGE) PROJECT DONE BY SAKTHI PRIYAN.P (CSE - B) 110817104067 #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> int main() { srand((unsigned int)(time(NULL))); int i; char pass[12]; printf("Press enter to get a twelve-character Dogtag /n"); getchar(); for (i = 0; i < 4; i++) {   pass[i] = rand() % 9;   char capLetter = 'A' + (rand() % 26);   pass[i + 2] = capLetter;   char letter = 'a' + (rand() % 26);   pass[i + 3] = letter;   printf("%d%c%c", pass[i], pass[i + 2],       pass[i + 3]); } printf("\n\n"); } OUTPUT

CRYPTOGRAPHY(text file) in C PROGRAMMING

Image
              JAYA ENGINEERING COLLEGE MENTOR : SAM                    ( JAYA ENGINEERING COLLEGE) DEPARTMENT : CSE - B PROJECT DONE BY 1) Santhosh Kumar .R(CSE-B)      110817104071 2) Solairaj S.T(CSE-B)      110817104075 #include<stdio.h> #include<stdlib.h> int encrypt(); int decrypt(); FILE *fsrc,*fdes; char ch; int main() { int choice; while(1) { printf("1 Encrypt \n"); printf("2 Decrypt \n"); printf("3 Exit \n"); printf("Enter your choice  :  "); scanf("%d",&choice); switch(choice) { case 1:encrypt();         break; case 2:decrypt();         break; case 3:exit(1); break; } } printf("\n"); } int encrypt() { char src[25]; printf("\nEnter file name to Encryp...