🔒 Closed Flowchart

Status
Not open for further replies.

Daym

Leecher
Mga ka phc paano Po gawing flowchart to..

#include <iostream>
#include <stdlib.h>
using namespace std;
int main () {
int n,i,k;
char choice;

cout<<" MULTIPLICATION TABLE "<<endl;
cout<<" [1] TABLE OF 1 \n";
cout<<" [2] TABLE OF 2 \n";
cout<<" [3] TABLE OF 3 \n";
cout<<" [4] TABLE OF 4 \n";
cout<<" [5] TABLE OF 5 \n";
cout<<" [6] TABLE OF 6 \n";
cout<<" [7] TABLE OF 7 \n";
cout<<" [8] TABLE OF 8 \n";
cout<<" [9] TABLE OF 9 \n";



do
{

cout<<" Pick your choice: ";
cin>>n;

if(n<=9)
{
cout<<"You choose table of "<< n <<endl;
for(i =0;i <=10; i++) {

k=n*i;

cout<< n <<" * "<< i <<" = "<< k <<endl;
}
cout<<"RUN THE PROGRAM AGAIN [Y/N]: \n";
cin>>choice;
}
if(n>=9)
{
cout<<"Choices is only 0-9....\n";
cout<<"RUN THE PROGRAM AGAIN [Y/N]: \n";
cin>>choice;

}
}while(choice== 'Y' || choice== 'y');


return 0;
}

Tsaka patingin narin Kung tama Yan c++ :)
Salamat Sana mapansin ...
 
Wag kana mag aral nyan. Pinaka da best nyan gawin ai may COST RECOVERY n lng. Dun sure na PASS ka. Haha
 
Status
Not open for further replies.

About this Thread

  • 7
    Replies
  • 727
    Views
  • 3
    Participants
Last reply from:
Flying Potato

Trending Topics

Online now

Members online
1,232
Guests online
1,242
Total visitors
2,474

Forum statistics

Threads
2,272,102
Posts
28,940,203
Members
1,237,991
Latest member
samettsa
Back
Top