PROGRAM MEMBALIKKAN KATA
#include <iostream> #include <conio.h> #include <string.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; int main(int argc, char** argv) { char a[30]; int i,j; cout<<"masukkan Kalimat :"; cin.getline(a,30); i=strlen(a); cout<<"\nKalimat Setelah di Balik :"; for(j=i;j>=0;j--){ cout<<a[j]; } getch(); return 0; } untuk no 1-2 pengantarprogram.blogspot.co.id untuk no 3 fafa145.blogspot.co.id