Your SlideShare is downloading. ×
0
PEMROGRAMAN C Continued [email_address]
Review Statement Output
Statement Output
Statement Output <ul><ul><li>Escape sequences character  karakter dengan makna khusus menggunakan notasi  (back slash) </...
Escape Sequence Character
Escape Sequence Character
Penulisan tipe data  <ul><ul><li>Apa bedanya %f dan %.2f? </li></ul></ul>
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 '); p...
Statement output: cout
Contoh program cout #include <stdio.h> #include <conio.h> #include <iostream.h> int main(){ cout <<  &quot;Hello World&quo...
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:
 
 
Upcoming SlideShare
Loading in...5
×

Pertemuan 03 - C

527

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
527
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Pertemuan 03 - C"

  1. 1. PEMROGRAMAN C Continued [email_address]
  2. 2. Review Statement Output
  3. 3. Statement Output
  4. 4. Statement Output <ul><ul><li>Escape sequences character  karakter dengan makna khusus menggunakan notasi (back slash) </li></ul></ul>
  5. 5. Escape Sequence Character
  6. 6. Escape Sequence Character
  7. 7. Penulisan tipe data <ul><ul><li>Apa bedanya %f dan %.2f? </li></ul></ul>
  8. 8. Statement output: puts
  9. 9. Contoh program puts
  10. 10. Statement output: putchar
  11. 11. Contoh program putchar #include <stdio.h> #include <conio.h> int main(){ putchar(' U '); putchar(' I '); putchar(' K '); putchar(' A '); getch(); }
  12. 12. Statement output: cout
  13. 13. Contoh program cout #include <stdio.h> #include <conio.h> #include <iostream.h> int main(){ cout << &quot;Hello World&quot; << endl; getch(); }
  14. 14. Statement Input
  15. 15. Statement Input: scanf
  16. 16. Statement Input: gets
  17. 17. Contoh program gets
  18. 18. Statement Input: cin
  19. 19. Contoh program cin
  20. 20. Statement Input: getche
  21. 21. Latihan Buat program C untuk menampilkan karakter berikut:
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×