Explore the C++ Basics: Print Patterns with Loops
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Tạo tệp mới pattern_printer.cpp trong repository và bắt đầu bằng việc xem lại các yêu cầu của tác vụ đối với các vòng lặp lồng nhau và đầu ra có nhãn. Triển khai ít nhất ba mẫu khác nhau bằng cách sử dụng số, dấu sao hoặc các ký tự khác, sau đó biên dịch và chạy chương trình để xác minh rằng mỗi mẫu được hiển thị chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Dive deeper into C++ programming by mastering loops and patterns! This beginner-level task will enhance your understanding of nested loops and conditional statements, crucial skills for any programmer.
Task:
Your challenge is to write a C++ program that prints various patterns using loops. Start with simple patterns like triangles and squares, and then challenge yourself with more complex designs. You can create patterns using numbers, stars, or any other characters you prefer.
Instructions:
- Fork this repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/KALIIOWORK/basic_c-_programs.git - Create a new C++ file named
pattern_printer.cpp. - Write a program that prints at least three different patterns using nested loops.
- Ensure each pattern is clearly labeled when printed.
- Experiment with different characters and numbers to create unique patterns.
- Compile and run your program to verify the patterns are displayed correctly.
- Commit your changes and push them to your forked repository.
- Open a pull request with your changes.
Note:
This task will reinforce your knowledge of loops and conditional statements in C++. Feel free to challenge yourself with intricate patterns! Happy coding! 🌟✨
- Ngôn ngữ chính
- C++
- Star
- 0
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của KALIIOWORK/basic_c-_programs
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
KALIIOWORK/basic_c-_programs#9 · 1 bình luận ·
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
KALIIOWORK/basic_c-_programs#8 · 1 bình luận ·
-
good first issue hacktoberfest
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 45/100
KALIIOWORK/basic_c-_programs#7 · 1 bình luận ·
-
good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
KALIIOWORK/basic_c-_programs#3 · 1 bình luận ·
Tất cả issue của KALIIOWORK/basic_c-_programs
Issue tương tự
-
Broken links in the docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
microsoft/onnxruntime#33018 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
DataLakeFileSystemClient::ListPaths() throws JSON exception due to accessing undefined fieldsĐang mởcustomer-reported needs-triage question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Azure/azure-sdk-for-cpp#7435 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ChromieCraft Generic Confirmed World Event
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
azerothcore/azerothcore-wotlk#27882 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MacOS build failureĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aristocratos/btop#1874 ·
Maintainer thường phản hồi trong vòng 1 ngày