41223251 cp2023

  • Home
    • SMap
    • reveal
    • blog
  • About
  • ANSIC
  • w15
  • w13
  • w12
  • w7
  • w14
  • usa
  • roc
  • w5
  • Brython
About << Previous Next >> w15

ANSIC

練習一

#include <stdio.h>

int main() 
{
    // Print a line of hashes
    printf("#######\n");

    // Print a single hash
    printf("   #\n");

    // Print a single hash
    printf("   #\n");

    // Print a line of hashes
    printf("   #\n");

    // Print a single hash
    printf("   #\n");

    // Print a single hash
    printf("   #\n");

    // Print a single hash
    printf("#######\n");

    return(0);
}

練習2

#include <stdio.h>

int main()  
{
    // Print Name
    printf("Name   : yem yi ming\n"); 

    // Print Date of Birth
    printf("DOB    : March 09, 2005\n"); 

    // Print Mobile Number
    printf("Mobile : 04-0000000\n"); 

    // Indicate successful execution
    return(0); 
}


About << Previous Next >> w15

Copyright © All rights reserved | This template is made with by Colorlib