+ 1
the following cpp program if run will produce "compilation error". what's wrong with my code? Please...i'm newbie in programming
9 Respostas
+ 8
cin>> NOT cin <<
+ 7
You have to use >> operator with cin object and NOT <<
+ 7
Hi Bayu, you forget to increment the loop counter <n1> in the while loop, you should change the code, as in its current state the loop is infinite.
+ 7
You missed semicolon in line no 24
+ 6
Remove semicolon from line 25
+ 4
Sama2 Bayu, ini output yg diinginkan seperti apa yach, saya msh belum paham, mungkin saya bisa bantu sedikit.
+ 3
Thank's for kroW and Goldstein..
+ 3
Shreyansh Sinha : thank you
Ipang : saya menginginkan output menampilkan suku ke-1, suku ke-2, .... , suku ke-n (n sesuai yg diinput user)..kira2 kode pengulangannya bagaimana,mas?
+ 2
Terima kasih, mas ipang...
waktu saya coba, pengulangannya tidak sesuai yang saya harapkan.