alansam

hw061

Jan 6th, 2021
899
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. //#include<conio.h>
  3. int main() /*void main(void)*/
  4. {
  5.   int date, month, year, cellnumber1, cellnumber2;
  6. //  char;
  7.   long int Cnic_C1, Cnic_C2, Cnic_C3;
  8.   date = 11;
  9.   month =11;
  10.   year = 1989;
  11.   cellnumber1 = 300;
  12.   cellnumber2 = 1234567;
  13.   Cnic_C1 = 12345;
  14.   Cnic_C2 = 1234567;
  15.   Cnic_C3 = 1;
  16.   char Name[30] = "Muhammad";/*Char Name = [30] = Muhammad;*/
  17.   printf("\n****************************RESUME****************************");
  18.   printf("\n******************************CV*******************************");
  19.   printf("\n****************************************************************");
  20.   printf("\n=========================================================");
  21.   printf("\nName : %s", Name);
  22.   printf("\nFathers Name : %s", "Xyz");
  23.   printf("\nDate of Birth : %d-%d-%d", date, month, year);
  24.   printf("\nAddress : %s", "Engineering Department, Main Campus, Iqra University,");
  25.   printf("\nCell Phone : 0%d-%d", cellnumber1, cellnumber2);
  26.   printf("\nCNIC : %ld-%ld-%ld", Cnic_C1, Cnic_C2, Cnic_C3);
  27.   printf("\nGender : %s", "Male");
  28.   printf("\nHSC (College\\Board) : %s", "Science (Pre Engg), Iqra College, Karachi Board");
  29.   printf("\nHSC Year : %s %d", "August", 2005);
  30.   printf("\nSSC (School\\Board) : %s", "Science, Iqra School, Karachi Board");
  31.   printf("\nSSC Year : %s %d", "August", 2003);
  32. //  _getch();
  33. }
  34.  
RAW Paste Data