photo-graphimata
marketing
Sunday, June 26, 2011
C Programming - Program Untuk Membalik Kata atau Kalimat
#include <stdio.h>
int main()
{
void terbalik();
printf("Masukkan sembarang kalimat: ");
terbalik();
return 0;
}
void terbalik()
{
char ch;
ch = getchar();
if (ch != 10)
{
terbalik();
}
putchar(ch);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
marketing
LinkWithin
No comments:
Post a Comment