Biomedical engineering 3
Open in Telegram
هل أنت طالب هندسة في جامعة صنعاء، كلية الهندسة؟!إذاً أنت في المكان الصحيح! إاليك قناتنا التي تنشر كتب الهندسة المختلفة، ملخصات بشتى انواعها .بالإضافة إلى شروحات فيديو وتوضيحات للتكاليف وغيرها . 🔥📚
Show more312
Subscribers
-124 hours
+67 days
+3330 days
Posts Archive
#include <stdio.h>
void drawHollowSquare(float side) {
for (int i = 0; i < side; i++) {
if (i == 0 || i == side - 1) {
for (int j = 0; j < side; j++) {
printf("* ");
}
} else {
printf("*");
for (int j = 1; j < side - 1; j++) {
if (i == side / 2 && j == side / 2) {
printf("%.2f", side * side);
} else {
printf(" ");
}
}
printf("*");
}
printf("\n");
}
}
void drawHollowRectangle(float length, float width) {
for (int i = 0; i < length; i++) {
if (i == 0 || i == length - 1) {
for (int j = 0; j < width; j++) {
printf("*");
}
} else {
printf("*");
for (int j = 1; j < width - 1; j++) {
if (i == length / 2 && j == width / 2) {
printf("%.2f", length * width);
} else {
printf(" ");
}
}
printf("*");
}
printf("\n");
}
}
int main() {
int choice;
// loop until the user enters 0
while (1) {
// prompt the user to enter a choice
printf("Enter 1 for hollow square, 2 for hollow rectangle, or 0 to exit: ");
scanf("%d", &choice);
// check the user's choice
switch (choice) {
case 1: {
// calculate the area of a square
float side;
printf("Enter the side length of the hollow square: ");
scanf("%f", &side);
float areaSquare = side * side;
printf("The area of the hollow square is %.2f\n", areaSquare);
drawHollowSquare(side);
break;
}
case 2: {
// calculate the area of a rectangle
float length, width;
printf("Enter the length of the hollow rectangle: ");
scanf("%f", &length);
printf("Enter the width of the hollow rectangle: ");
scanf("%f", &width);
float areaRectangle = length * width;
printf("The area of the hollow rectangle is %.2f\n", areaRectangle);
drawHollowRectangle(length, width);
break;
}
case 0:
// exit the program
printf("Exiting the program...\n");
return 0;
default:
// invalid choice
printf("Invalid choice. Please enter 1, 2, or 0.\n");
}
}
return 0;
}
ملف الكود الي طبقناه بالمعمل.......
تكليف البرمجه هي التعديل على الكود لجعل المساحة تكتب بداخل الشكل الي بيتم رسمه
#lab_programming2
https://youtu.be/PFxlGt33H4g?si=HT5UDeOMUcWJWzRQ
وهذا تشريح لعظام ال Upper & Lower limb
#anatomy
https://youtu.be/cqjJ4kSUi7Y?si=vyqSNtf7hXCeTRt-
شرح لتشريح عظام الجمجمة
طويل شويه بس تقدروا تسرعوه
#anatomy
محاضرات المعيد حسام الخطيب من المحاضرة الأولى الى المحاضرة الاخيرة
#Bio_Fluid
#تمارين
🛑 تكاليف الأسبوع 🛑
🛑الأسبـــوع السابع 🛑
✅ رياضيات ⬅️ حل المسألة المقررة من قبل الدكتور
✅ معمل البرمجة ⬅️ تجهيز كود خاص بمثلث باسكال
✅ ميكانيكا الموائع نظري ⬅️ البحث والاطلاع على مواضيع chapter 4 كاملا بالإضافة لحل المسائل الخاصة بال chapter + تحضير أسئلة للدكتور متعلقة بالمحاضرة
✅ معمل الالكترونيات ⬅️ تجهيز التقرير الخاص بتجربة الأسبوع
✅ا Anatomy ⬅️ الاستعداد ل [quiz] في موضوع ال introduction & chapter 1
#تكاليف_الأسبوع
اختبار ميكانيكا الموائع
للطلاب ذي عادو الاختبار 🤍
#نماذج
#نصفي
#Bio_Fluid
