V vien3211 Eternal Poster Established Joined Aug 9, 2016 Posts 829 Reaction 73 Points 313 Dec 2, 2021 #1 Hello pwede po patulong dito? Salamat! c++ po language Attachments You do not have permission to view the full content of this post. Log in or register now.
V vien3211 Eternal Poster Established Dec 2, 2021 TS TS #3 Freenet gamer said: Out put mo yan master Click to expand... opo sir, output po yan
V vien3211 Eternal Poster Established Dec 2, 2021 TS TS #5 Freenet gamer said: Wala ka bang question para may ma gets ko Click to expand... gumawa lang daw po kami ng for loop na ganyan yung magiging output
Freenet gamer said: Wala ka bang question para may ma gets ko Click to expand... gumawa lang daw po kami ng for loop na ganyan yung magiging output
R Reflection Honorary Poster Dec 2, 2021 #6 C++: #include <iostream> using namespace std; int main() { int a, b, c; for(a=1;a<=20;a++){ cout<<a<<" "; b=a%5; c=a; while(c<10){ cout<<" "; c=10; } while(b==0){ cout<<endl; b=1; } } return 0; } Attachments You do not have permission to view the full content of this post. Log in or register now.
C++: #include <iostream> using namespace std; int main() { int a, b, c; for(a=1;a<=20;a++){ cout<<a<<" "; b=a%5; c=a; while(c<10){ cout<<" "; c=10; } while(b==0){ cout<<endl; b=1; } } return 0; }
V vien3211 Eternal Poster Established Dec 2, 2021 TS TS #7 Hello sir Reflection said: C++: #include <iostream> using namespace std; int main() { int a, b, c; for(a=1;a<=20;a++){ cout<<a<<" "; b=a%5; c=a; while(c<10){ cout<<" "; c=10; } while(b==0){ cout<<endl; b=1; } } return 0; } Click to expand... Hello sir! Salamat po, gumana!
Hello sir Reflection said: C++: #include <iostream> using namespace std; int main() { int a, b, c; for(a=1;a<=20;a++){ cout<<a<<" "; b=a%5; c=a; while(c<10){ cout<<" "; c=10; } while(b==0){ cout<<endl; b=1; } } return 0; } Click to expand... Hello sir! Salamat po, gumana!
F FoXOnE23 Honorary Poster Dec 2, 2021 #8 C++: #include <iostream> using namespace std; int main(){ int counter=0; for(int i=1;i<=4;i++){ for(int j=1;j<=5;j++){ counter++; cout<<counter<<"\t"; } cout<<endl; } return 0; }
C++: #include <iostream> using namespace std; int main(){ int counter=0; for(int i=1;i<=4;i++){ for(int j=1;j<=5;j++){ counter++; cout<<counter<<"\t"; } cout<<endl; } return 0; }