Home
Algoritma
C ++
Pascal
Java
Pemrograman
Komputer Umum
About Me
Contact Me
Google +
Facebook
Twitter
Monday, 11 May 2020
Program Perkalian For
#include<iostream>
using namespace std;
int main()
{
int a,b;
atas:
cout<<" Masukan Nilai Perkalian : ";cin>>b;
for(a=1;a<=10;a++)
{
cout<<a <<" X " <<b <<" = "<<a*b<<endl;
}
goto atas;
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment