[SOLVED] CSE131 Homework #1

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon HW1-q62dzo.zip (204.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Objective :
Learn how to use the printf() function in C
1.1
Write a program to print your student ID, and then use the asterisk symbols(*) to draw the word “中山” in the command prompt.

Output :

1.2
There are a equilateral triangle, a square, a circle, a cube and a cylinder. Suppose the sides of the triangle, the square, and the cube are 5, and that the radii of the circle and the cylinder are 9.

Write a program to print the areas of the triangle, the square, and the circle, then print the volumes of the cube and the cylinder with height 9.

Hint : PI=3.14, √3=1.73

Output :

繳交格式及規定 : 程式重點地方請加註解,給分也會酌量參考註解。
請繳交 .c 檔即可。 .
c 檔的檔名一律統一,以學號為檔名壓縮成一個以學號為名的壓縮檔
上傳,
上傳請一律繳交壓縮檔。

Example: 若學號為 B123456789, 則.c/.cpp 檔名為 B123456789.c , 而壓縮檔名為 B123456789.rar。
無輸入輸出及逾期者一律以 0 分計算。

作業請上傳中山網路大學 網大上傳方式:
1. 點選要繳交的作業,選擇「進行作業」。

2. 依照流程上傳檔案。

  • HW1-q62dzo.zip