Row of stars
Lesson 3 of 30 in Coddy's Star Pattern Bootcamp course.
Challenge
EasyYour first challenge is to create a simple yet iconic pattern using asterisks (*).
Your task is to write a program that prints a single row of stars as shown below. The pattern consists of 1 row and 6 columns.
Output Pattern:
* * * * * * Try it yourself
#include <stdio.h>
int main() {
// Write code here
return 0;
};All lessons in Star Pattern Bootcamp
2Beginner Level Pattern's
Row of starsColumn of starsSolid square of starsRight-angle triangleLeft-angle triangleInverted right-angle triangleInverted left-angle triangleRhombus Pattern3Intermediate Level Pattern's
Pyramid of starsInverted PyramidDiamond PatternRight Direction ArrowLeft Direction ArrowPlus PatternX Pattern