Membuat Calculator Sederhana C++ Dari Virus :P

disini saya akan membahas bagai mana cara membuat program kalkulator pertama pertama: adalah kode untuk membuka program itu kepala program atau header

semoga bermanfaat sharing saya
 #include <iostream> using namespace std; int main() {  
   

langsung aja TKP gan besok-besok aja pelajarannya

 #include <iostream> using namespace std; int main() { // One and two are the numbers the user selects double one, two; cout << "Please input the first number:"; cin >> one; // Cin takes the users first number, and assosicates it to one cout << "Please input the second number:"; cin >> two; // Here cin takes the second number and assisgns it to two cout << "\nThe answers are:\nAddition:" << one + two; // All the math happens here cout << "\nSubtraction:" << one - two; cout << "\nMultiplication:" << one * two; cout << "\nDivision:" << one / two; cout << "\nThank you for using myCalc."; cout << "\n"; main(); // This starts the main function again, so you can do another calculation system("PAUSE"); return 0; }    
     
ReadmoreMembuat Calculator Sederhana C++ Dari Virus :P

Simple Program C++ Kalkulator digital :P


judul dari kutipan di atas sungguh memukau tapi gak papa karena suatu hari nanti mungkin akan bisa membuat nya sendiri, belajar dan belajar Simple Program C++ Kalkulator digital :P sangat berguna dan semoga bisa membantu anda beljar copas saja dan kemudian di praktekkan dan di analisis kkemudian buat code ini sendiri god job kawan

 #include<stdio.h>  
 #include<conio.h>  
 void menu();  
 void jumlah();  
 void kurang();  
 void kali();  
 void bagi();  
 void main()  
 {  
 char chrPilihan;  
 do  
 {  
 menu();  
 fflush(stdin);  
 scanf(“%c”,chrPilihan);  
 if ((chrPilihan == ‘x’)||(chrPilihan == ‘x’))  
 { printf(“Thanks for use this program… egie_ku@yahoo.com”);  
 break;}  
 switch (chrPilihan)  
 { case ’1′:  
 jumlah();  
 break;  
 case ’2′:  
 kurang();  
 break;  
 case ’3′:  
 kali();  
 break;  
 case ’4′:  
 bagi();  
 break;  
 default:  
 printf(“nSorry bro.. Kode yang di imput salah…n”);  
 }  
 }  
 while(chrPilihan != ‘x’);  
 }  
 void menu()  
 {  
 printf(” n”);  
 printf(“Main Menun”);  
 printf(“==================n”);  
 printf(“1. Operasi Penjumlahann”);  
 printf(“2. Operasi Pengurangann”);  
 printf(“3. Operasi Perkaliann”);  
 printf(“4. Operasi Pembagiann”);  
 printf(“x. Untuk Keluarn”);  
 printf(” n”);  
 printf(“Input kode masukkan,bro!!: “);  
 }  
 void jumlah()  
 {  
 int jumlah,bil1,bil2;  
 printf(“Bilangan 1 nya apa?? “);  
 scanf(“%d”,bil1);  
 printf(“Bilangan kedua?? “);  
 scanf(“%d”,bil2);  
 jumlah=bil1+bil2;  
 printf(“Hasilnya tambahannya %dn”,jumlah);  
 printf(“nPencet Enter buat lanjut..n”);  
 getch();  
 }  
 void kurang()  
 {  
 int jumlah,bil1,bil2;  
 printf(“Bilangan 1 nya apa?? “);  
 scanf(“%d”,bil1);  
 printf(“Bilangan kedua?? “);  
 scanf(“%d”,bil2);  
 jumlah=bil1-bil2;  
 printf(“Hasilnya kurangannya %dn”,jumlah);  
 printf(“nPencet Enter buat lanjut..n”);  
 getch();  
 }  
 void kali()  
 {  
 int jumlah,bil1,bil2;  
 printf(“Bilangan 1 nya apa?? “);  
 scanf(“%d”,bil1);  
 printf(“Bilangan kedua?? “);  
 scanf(“%d”,bil2);  
 jumlah=bil1*bil2;  
 printf(“Hasilnya kalinya %dn”,jumlah);  
 printf(“nPencet Enter buat lanjut..n”);  
 getch();  
 }  
 void bagi()  
 {  
 int jumlah,bil1,bil2;  
 printf(“Bilangan 1 nya apa?? “);  
 scanf(“%d”,bil1);  
 printf(“Bilangan kedua?? “);  
 scanf(“%d”,bil2);  
 jumlah=bil1/bil2;  
 printf(“Hasilnya baginya %dn”,jumlah);  
 printf(“nPencet Enter buat lanjut..n”);  
 getch();  
 }  
ReadmoreSimple Program C++ Kalkulator digital :P

Contact Us


Contact Us

Welcome to the Contact Us page of the Blog in blogspot.com
Please click on the links below to view the detailed contact information relating to the products and services provided by our dedicated business areas. You can also contact us on Gmail saidqb@gmail.com.
If you are looking for an answer to a specific question, please make sure you refer to our Help pages where we cover the most popular questions such as how to retrieve a problem for this site.

ReadmoreContact Us

Privacy Policy


Privacy Policy
If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at saidqb11@gmail.com.
At http://code-c-plusplus.blogspot.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by http://code-c-plusplus.blogspot.com and how it is used.
Log Files
Like many other Web sites, http://code-c-plusplus.blogspot.com makes use of log files. The information inside the log files includes internet protocol ( IP ) addresses, type of browser, Internet Service Provider ( ISP ), date/time stamp, referring/exit pages, and number of clicks to analyze trends, administer the site, track user’s movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable.
Cookies and Web Beacons
http://code-c-plusplus.blogspot.com does use cookies to store information about visitors preferences, record user-specific information on which pages the user access or visit, customize Web page content based on visitors browser type or other information that the visitor sends via their browser.
DoubleClick DART Cookie
.:: Google, as a third party vendor, uses cookies to serve ads on http://code-c-plusplus.blogspot.com.
.:: Google’s use of the DART cookie enables it to serve ads to users based on their visit to http://code-c-plusplus.blogspot.com and other sites on the Internet.
.:: Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL – http://www.google.com/privacy_ads.html
Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include ….
Google Adsense
Amazon
These third-party ad servers or ad networks use technology to the advertisements and links that appear on http://code-c-plusplus.blogspot.com send directly to your browsers. They automatically receive your IP address when this occurs. Other technologies ( such as cookies, JavaScript, or Web Beacons ) may also be used by the third-party ad networks to measure the effectiveness of their advertisements and / or to personalize the advertising content that you see.
http://code-c-plusplus.blogspot.com has no access to or control over these cookies that are used by third-party advertisers.
You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. http://code-c-plusplus.blogspot.com’s privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites.
If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers’ respective websites.
Content :
We gathered the content and images from google search engine and google images search and from blog post and we always give the link from the original site (source), contact us if we forgot to link it, If you see your copyrighted images or material has been published at this blog, please contact us and we will remove it as soon as possible.
We use third-party advertising companies to serve ads when you visit our Web site. These companies may use aggregated information (not including your name, address, email address or telephone number) about your visits to this and other Web sites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, please see: http://www.networkadvertising.org/managing/opt_out.asp
Regards,
code-c-plusplus.blogspot.com
ReadmorePrivacy Policy