You are on page 1of 1

10/19/23, 9:10 AM GDB online Debugger | Compiler - Code, Compile, Run, Debug online C, C++

   Run  Debug  Stop  Share  Save { } Beautify 


 OnlineGDB
main.cpp
beta
(/)
online compiler and 1 #include <iostream>
debugger for c/c++ 2
3 using namespace std;
code. compile. run. 4
debug. share. 5 int main()
6 {
IDE (/) 7 int a;
My Projects (/myfiles) 8
9 cout << "Masukkan Angka: ";
Classroom new 10 cin >> a;
(/classroom) 11
Learn Programming 12 if (a % 2 == 0) {
(https://learn.onlinegdb 13 cout << a << " adalah bilangan genap";
14 }
Programming 15 else {
Questions 16 cout << a << " adalah bilangan ganjil";
(https://question.online 17 }
Sign Up (/register) 18
19 cout << endl;
Login (/login) 20 return 0;
21 }

Learn Python with


KodeKloud

(https://shareasale.
b=2183718&u=157

About (/about) • FAQ    input


(/faq) • Blog (/blog/) •
Terms of Use
(/termsofuse) • Contact
Us (/contact) • GDB
Tutorial
(http://www.gdbtutorial.com/
• Credits (/credits) •
Privacy (/privacy)
© 2016 - 2023 GDB
Online

https://www.onlinegdb.com 1/1

You might also like