Monday, October 7, 2019

Multiplication Table in C++ Using Setw Function

A simple multiplication table that I created using C++ as my programming language using Setw function using iomanip library file.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com.



Sample Program Output


Program Listing

// multiplication_table.cpp
// Jake Rodriguez Pomperada,MAED-IT
// October 7, 2019 Monday

#include <iostream>
#include <iomanip>

using namespace std;

int main(){
int x=0,y=0;
     cout <<setw(34)<< "Multiplication Table";
cout <<"\n";
for (int x=1; x<=10; x++) {
cout <<"\n";
for (int y=1; y<=10; y++) {
cout << setw(4) << x*y;
}
}
}

No comments:

Post a Comment