View difference between Paste ID: wRiK3mAr and XjWL8mAU
SHOW: | | - or go back to the newest paste.
1
#include <iostream>
2
3
#include <conio.h>
4
int main ()
5-
cout<<" Hello World ";
5+
6
//cout<<" Hello World ";
7
int x; 
8
x = 10; //silakan dipikirkan cara input x memakai cin
9
10
x = 2 * x;
11
x = x + 7;
12
x = 5 * x;
13
x = x + 5;
14
x = x + 10;
15
16
count <<"x =";
17
count << x;
18
19
getch();
20
}