This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 12.wineGlass.cpp | |
// juanfc 2024-10-15 | |
// | |
// | |
// Enter the half of the width (0 ends): 5 | |
// | |
// *********** | |
// ********* | |
// ******* | |
// ***** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 11.emptyRhombus.cpp | |
// juanfc 2024-10-15 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 3; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 08.doublestaircase.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 6; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 09.doubleWallBox.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 6; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 08.triangleContDigits.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int gCounter = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 07.triangleDigits.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 12; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 06.stairs.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 5; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 05.printemptybox.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 5; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 04.printfullbox.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 5; // or cin >> n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 01.printcharrep.cpp | |
// juanfc 2024-10-07 | |
// | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n = 5; // or cin >> n; |