Modul 4.1
https://www.youtube.com/watch?v=CCtTfUqmD28
Listing Program
/* MOdul 4-1
Operator Aritmatika
Nama : Wulan Kandiani Kusumah Wardani
NRP : 49013036
*/
#include <iostream>
#include <stdlib.h>
using namespace std ;
int main ()
{
cout << "2 + 3 = "<< 2+3 << endl << endl;
cout << "10 - 5 = "<< 10-5<< endl <<endl;
cout << "4 x 3 = "<< 4*3 << endl<< endl;
cout << "4 / 2 = "<< 4/2<<endl<<endl;
cout << "10 % 3 = "<< 10%3 <<endl<<endl;
system("pause");
return 0;
}
https://www.youtube.com/watch?v=CCtTfUqmD28
Listing Program
/* MOdul 4-1
Operator Aritmatika
Nama : Wulan Kandiani Kusumah Wardani
NRP : 49013036
*/
#include <iostream>
#include <stdlib.h>
using namespace std ;
int main ()
{
cout << "2 + 3 = "<< 2+3 << endl << endl;
cout << "10 - 5 = "<< 10-5<< endl <<endl;
cout << "4 x 3 = "<< 4*3 << endl<< endl;
cout << "4 / 2 = "<< 4/2<<endl<<endl;
cout << "10 % 3 = "<< 10%3 <<endl<<endl;
system("pause");
return 0;
}
Tidak ada komentar:
Posting Komentar