• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Pertemuan 03 - C
 

Pertemuan 03 - C

on

  • 622 views

 

Statistics

Views

Total Views
622
Views on SlideShare
622
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Pertemuan 03 - C Pertemuan 03 - C Presentation Transcript

    • PEMROGRAMAN C Continued [email_address]
    • Review Statement Output
    • Statement Output
    • Statement Output
        • Escape sequences character  karakter dengan makna khusus menggunakan notasi (back slash)
    • Escape Sequence Character
    • Escape Sequence Character
    • Penulisan tipe data
        • Apa bedanya %f dan %.2f?
    • Statement output: puts
    • Contoh program puts
    • Statement output: putchar
    • Contoh program putchar #include <stdio.h> #include <conio.h> int main(){ putchar(' U '); putchar(' I '); putchar(' K '); putchar(' A '); getch(); }
    • Statement output: cout
    • Contoh program cout #include <stdio.h> #include <conio.h> #include <iostream.h> int main(){ cout << &quot;Hello World&quot; << endl; getch(); }
    • Statement Input
    • Statement Input: scanf
    • Statement Input: gets
    • Contoh program gets
    • Statement Input: cin
    • Contoh program cin
    • Statement Input: getche
    • Latihan Buat program C untuk menampilkan karakter berikut:
    •  
    •