*
**
***
*
***
*****
*
***
*****
***
*
以下是範例程式:
/**
* Name: shape.c
* Subject: print out different shapes such
as triangle, diamond
* Author: Your Name
* Begin Date: xx/xx/xxxx
* Last Update Date: xx/xx/xxxx
* Toolkit: gcc
*/
#include <stdio.h>
/**
* Your comment
*/
void right_triangle(int n) {
/* fill your code here */
}
/**
* Your comment
*/
void isosceles_triangle(int n) {
/* fill your code here */
}
/**
* Your comment
*/
void rhombus(int n) {
/* fill your code here */
}
int main() {
// fill your code
}