PDA

View Full Version : [Ask]menampilkan output pd Borland C++


Braincode
11th November 2011, 02:21 PM
selamat siang gan..

ane mo tanya. Cara menampilkan output seperti dibawah ini gimana ya gan?

http://i993.photobucket.com/albums/af51/firewisky27/soal31.jpg



ini kodingan ane. tp masih ad yg salah. mohon dikoreksi ya gan..

thanks b4..

<div style="margin:20px; margin-top:5px">
PHP Code:

<div class="alt2" dir="ltr" style="br / margin: 0px;br / padding: 6px;br / border: 1px inset;br / width: 640px;br / height: 434px;br / text-align: left;br / overflow: auto">

<span style="color: #000000">
#include

#include

#include

#include

main()

{

int jum=0;

for (int a=1; a=b; b++)

{

printf("%d",b);

if (b<span style="color: #007700">