النتائج 1 إلى 2 من 2

الموضوع: تحد للمهندسين العرب

  1. #1

    help تحد للمهندسين العرب

    دورات الكهرباء والطاقة الشمسية المقدمة من المدرب المهندس فهد رفاعي:

    🔴• رابط كورس محركات مولدات

    https://www.udemy.com/course/dc-machines/?referralCode=1ED48909B4E899C75F7B

    🔴رابط كورس مولدات الديزل الاحتياطية والطواريء

    https://www.udemy.com/course/backuppower/?referralCode=4FE3F1901CB88565592D

    🔴رابط كورس المحولات

    https://www.udemy.com/course/transformers/?referralCode=9BC4E057DC3155D12900

    🔴• رابط كورس توليد الكهرباء

    https://www.udemy.com/course/electricity-generatin/?referralCode=F21C3555AEB345739B2E

    🔴• رابط كورس اساسيات الخلايا الشمسية

    https://www.udemy.com/course/101pvsolar/?referralCode=A10599DD30023F0B48A9

    🔴رابط كورس الانظمة الشمسية المتصلة بالشبكة

    https://www.udemy.com/course/pvsolar2/?referralCode=5CB93ADBDB342EADC3DF

    🔴• رابط كورس كهرباء المنازل

    https://www.udemy.com/course/homeelectrical/?referralCode=20B83657C140B0460C41

    🔴• رابط كورس التعريف بتخصص الهندسة الكهربائية

    https://www.udemy.com/course/101eleeng/?referralCode=A687E69B7A1908D546EE


    🔴رابط كورس محطات التحويل الكهربائية

    https://www.udemy.com/course/powerplant/?referralCode=DDC59253B2F4F6CD0FBC



    🔴للاشتراك في باقة التسعة كورسات جميعا بسعر مخفض تفضل من هنا

    https://fahraf1.com/products/8fc27d39-b638-4498-b575-ed04e6e67675

    السلام عليكم ع الكل,
    انا عندي مشروع في الc prrgramme و ياريت لو حد يقدر يساعدني يبقى كسب في خير :))) و انا فعلا احسه تحد لانه صعب
    Page
    1 of 6

    ATM Machine System
    Write a program that will simulate ATM machine. The Program should prompt the user to enter a valid PIN password number of 5 digits (PIN: 12312). The program will not proceed until a correct PIN is entered. Once a correct PIN is entered, the program will display a menu of 6 choices. Unless a correct choice is entered, the program will keep telling the user to enter
    Write a program that will simulate ATM machine. The Program should prompt the user to enter a valid PIN password number of 5 digits (PIN: 12312). The program will not proceed until a correct PIN is entered. Once a correct PIN is entered, the program will display a menu of 6 choices. Unless a correct choice is entered, the program will keep telling the user to enter a correct choice as shown in Fig.1.
    Figure 1
    If choice 1 is selected (Check Balance), then a new window will appear as shown in Fig.2 (See notes how to get new window) which is the amount of your account. The program will give the user the choice to continue (if 1 is entered) or exit (if 0 is entered). If 1 is entered, then the program will display the menu as shown in Fig.1.
    Figure 2 Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
    Page 2 of 6
    If choice 2 is selected (Make Withdrawal), then the program will display a new window that gets the amount you want to withdraw. If the amount is negative or if it is greater than your balance, then the program will tell the user a specific message according to the input. An illustration is shown in Fig.3 and Fig.4.
    You should note that if the user responds with a valid amount, then the original account balance should be affected.
    Figure 3
    Figure 4
    If choice 3 is selected (Make A Deposit), then the program will start with a new window as shown in Fig.5. The program will not proceed unless a positive value is entered.
    Figure 5 Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
    Page 3 of 6
    You should note that if the user entered with a valid amount, then the original account balance should be increased by this amount.
    If choice 4 is selected (
    View Account Information), then the program should display in new window information about the built-in account as shown in Fig.6.
    Figure 6
    If choice 5 is selected (Pay Bills), then the program should display in new window choices about the bills you want to pay for as shown in Fig.7 and Fig.8. Here you have to select 1 or 2; if any other number is entered the program will keep asking enter 1 or 2.
    Figure 7 Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
    Page 4 of 6
    Figure 8
    Note that the program in this case will ask the user about the amount of money to be paid for the bills, the program will accept the amount if the following conditions are true:
    1. The Amount >= 0
    2. The Amount <= Your Account Balance
    3. The Amount <= Your Bill
    If choice 6 is selected (
    Exit), then the program will display a new window as shown in Fig.9 giving the user the choice to continue with program or exit.
    Figure 9 Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
    Page 5 of 6
    Important Notes:
    1. The Program should give the user the choice to
    continue working with the program or exit after every operation as shown in all of the figures above.
     
    2.
    You should use user-defined functions wherever possible.
     
    3.
    To clear the screen and start with an empty one, you can make use of the example code listed in sample program 1.
    a. For
    windows users use system("cls")
    b. For MAC OsX users use system("clear").
    c. Use
    stdlib.h library.
     
    4. You can work individually or in groups of two students.
     
    5. See sample program 2, it will help start writing your code.
     
    6. The deadline:
    5th Jan, 2013.
    #include <stdio.h>
    #include <stdlib.h>
    int main()
    **
    int
    choice;
    printf("This a test example for clearing the screen\n");
    printf("Enter 1 or 2: ");
    scanf("%d",&
    choice);
    while(
    choice <1 || choice > 2) // conditional loop
    **
    printf("Enter A Valid Input: ");
    scanf("%d",&
    choice);
    }
    if (
    choice == 1)
    printf("The screen is not cleared\n");
    else if (
    choice == 2)
    **
    //this line will clear whatever was on the screen
    system("cls");
    printf("Now You have a new screen, the old content was cleared\n");
    }
    return 0;
    }
    Sample Program 1 Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
    Page 6 of 6
    #include <stdio.h>
    #include <stdlib.h>
    void info(void);
    int main()
    **
    int
    ch;
    int
    state = 1;
    while(
    state == 1) // conditional loop
    **
    system("cls");
    info();
    scanf("%d",&
    ch);
    while(
    ch != 1 && ch != 2 && ch != 3)
    **
    printf("Enter A Valid Choice: ");
    scanf("%d",&
    ch);
    }
    if(
    ch==1) //do action 1
    **
    system("cls");
    printf("Choice x is seleted.\n\n");
    }
    else if(
    ch==2) //do action 2
    **
    system("cls");
    printf("Choice y is seleted.\n\n");
    }
    else //do action 3
    **
    system("cls");
    printf("Choice z is seleted.\n\n");
    }
    printf("Do you want to run the program again?\n");
    printf("1. Yes, 2. No: ");
    scanf("%d",&
    state);
    while(
    state !=1 && state != 2)
    **
    printf("1. Yes, 2. No: ");
    scanf("%d",&
    state);
    }
    }
    return 0;
    }
    void info(void)
    **
    printf("1. x\n");
    printf("2. y\n");
    printf("3. z\n");
    printf("Enter a choice: ");
    }
    Sample Program 2
    a correct choice as shown in Fig.1.
    للاعلان في اكبر تجمع للمهندسين تفضل من هنا
    http://tkne.net/adss.htm

    للاطلاع على سيرة مؤسس موقع التقنية
    http://www.google.com/profiles/fahadrafai#about

    للبحث عن المواضيع في موقع التقنية
    http://www.tkne.net/vb/archive/index.php/

  2. #2

    افتراضي

    شكرررررا

    ******************************/****/index.php/about-college
    ******************************/****/index.php/dean
    ******************************/****/index.php/bylaws
    ******************************/****/index.php/tel
    ******************************/****/index.php?limitstart=0
    ******************************/****/index.php?start=8
    ******************************/****/index.php?start=16
    ******************************/****/index.php/home1/item/131-2013-11-19-18-01-41
    ******************************/****/index.php/home1/item/148-2013-11-27-22-15-21
    ******************************/****/index.php/home1/item/147-2013-11-26-20-01-54
    ******************************/****/index.php/home1/item/150-2013-11-28-15-59-26
    ******************************/****/index.php/home1/item/99-2013-10-12-17-29-45
    ******************************/****/index.php/home1/item/98-2013-10-11-18-21-09
    ******************************/****/index.php/home1/item/97-2013-10-10-09-44-37
    ******************************/****/index.php/home1/item/132-2013-11-20-13-15-38
    ******************************/****/index.php/home1/item/157-2013-12-04-18-02-50
    ******************************/****/index.php/home1/item/158-2013-12-07-20-31-24
    ******************************/****/index.php/home1/item/155-2014-2013
    ******************************/****/index.php/home1/item/156-2013-12-04-18-01-27
    ******************************/****/index.php/home1/item/153-2013-12-02-08-53-07
    ******************************/****/index.php/home1/item/154-2013-12-04-17-54-37
    ******************************/****/index.php/home1/item/151-2013-11-28-16-00-42
    ******************************/****/index.php/home1/item/152-2013-11-29-11-26-26
    ******************************/****/index.php/home1/item/149-2013-11-28-09-01-47
    ******************************/****/index.php/home1/item/150-2013-11-28-15-59-26
    ******************************/****/index.php/home1/item/147-2013-11-26-20-01-54
    ******************************/****/index.php/home1/item/148-2013-11-27-22-15-21
    ******************************/****/index.php/home1/item/142-2013-11-25-18-49-05
    ******************************/****/index.php/home1/item/143-2013-11-25-19-08-30
    ******************************/****/index.php/home1/item/145-2013-11-25-19-43-21
    ******************************/****/index.php/home1/item/146-2013-11-25-19-55-03
    ******************************/****/index.php/home1/item/141-2013-11-25-18-46-14
    ******************************/****/index.php/home1/item/144-2013-11-25-19-31-30
    ******************************/****/index.php/home1/item/139-2013-11-24-07-58-13
    ******************************/****/index.php/home1/item/140-edu-e-mail
    ******************************/****/index.php/home1/item/137-2013-11-21-20-00-01
    ******************************/****/index.php/home1/item/138-2013-11-23-19-36-44
    ******************************/****/index.php/home1/item/135-ciit-2014-ms-programs
    ******************************/****/index.php/home1/item/136-2013-11-21-18-57-51
    ******************************/****/index.php/home1/item/132-2013-11-20-13-15-38
    ******************************/****/index.php/home1/item/134-2013-11-21-10-11-39
    ******************************/****/index.php/home1/item/131-2013-11-19-18-01-41
    ******************************/****/index.php/home1/item/133-2013-11-20-13-23-14
    ******************************/****/index.php?start=24
    ******************************/****/index.php/home1/item/129-2013-11-19-17-53-19
    ******************************/****/index.php/home1/item/130-2013-11-19-17-55-57
    ******************************/****/index.php/home1/item/127-2013-11-18-13-23-59
    ******************************/****/index.php/home1/item/128-2013-11-19-17-49-10
    ******************************/****/index.php?start=32
    ******************************/****/index.php/home1/item/125-2013-11-18-13-08-50
    ******************************/****/index.php/home1/item/126-2013-11-18-13-12-50
    ******************************/****/index.php/home1/item/123-2013-11-14-15-16-13
    ******************************/****/index.php/home1/item/124-2013-11-17-20-57-20
    ******************************/****/index.php/home1/item/119-2013-11-11-22-56-06
    ******************************/****/index.php/home1/item/122-2013-11-12-19-43-28
    ******************************/****/index.php/home1/item/120-2013-11-11-23-01-48
    ******************************/****/index.php/home1/item/121-2013-11-11-23-13-01
    ******************************/****/index.php?start=40
    ******************************/****/index.php/home1/item/117-2013-11-07-14-20-36
    ******************************/****/index.php/home1/item/118-2013-11-11-22-52-13
    ******************************/****/index.php/home1/item/115-2013-11-07-14-00-59
    ******************************/****/index.php/home1/item/116-2013-11-07-14-06-20
    ******************************/****/index.php/home1/item/113-2013-11-05-18-59-07
    ******************************/****/index.php/home1/item/114-2013-11-05-19-11-24
    ******************************/****/index.php/home1/item/111-2013-11-04-07-03-33
    ******************************/****/index.php/home1/item/112-2013-11-05-18-55-40
    ******************************/****/index.php?start=48
    ******************************/****/index.php/home1/item/109-2013-11-04-06-43-59
    ******************************/****/index.php/home1/item/110-2013-11-04-06-52-16
    ******************************/****/index.php/home1/item/107-2013-10-31-11-14-52
    ******************************/****/index.php/home1/item/108-2013-11-02-11-53-21
    ******************************/****/index.php/home1/item/105-2013-10-22-19-27-40
    ******************************/****/index.php/home1/item/106-2013-10-30-22-39-04
    ******************************/****/index.php/home1/item/103-2013-10-21-17-56-16
    ******************************/****/index.php/home1/item/104-2014-2013
    ******************************/****/index.php?start=56
    ******************************/****/index.php/home1/item/102-2013-10-20-18-43-38
    ******************************/****/index.php/home1/item/101-kdi
    ******************************/****/index.php/home1/item/100-2013-10-12-17-39-41
    ******************************/****/index.php/home1/item/99-2013-10-12-17-29-45
    ******************************/****/index.php/home1/item/96-2013-10-10-05-44-08
    ******************************/****/index.php/home1/item/98-2013-10-11-18-21-09
    ******************************/****/index.php/home1/item/93-2013-10-09-18-35-18
    ******************************/****/index.php/home1/item/97-2013-10-10-09-44-37
    ******************************/****/index.php?start=64
    ******************************/****/index.php/home1/item/90-2013-09-29-07-28-18
    ******************************/****/index.php/home1/item/92-2013-10-01-07-42-10
    ******************************/****/index.php/home1/item/89-2013-09-29-07-27-02
    ******************************/****/index.php/home1/item/91-2013-09-29-07-35-18
    ******************************/****/index.php/home1/item/87-2013-09-29-07-23-07
    ******************************/****/index.php/home1/item/88-2013-09-29-07-24-31
    ******************************/****/index.php/home1/item/80-2013-09-25-08-26-19
    ******************************/****/index.php/home1/item/86-2013-09-26-07-55-24
    ******************************/****/index.php?start=72
    ******************************/****/index.php/home1/item/78-2013-09-25-08-24-31
    ******************************/****/index.php/home1/item/79-2013-09-25-08-25-30
    ******************************/****/index.php/home1/item/76-2013-09-11-10-25-44
    ******************************/****/index.php/home1/item/77-2013-09-25-08-23-36
    ******************************/****/index.php/home1/item/74-2013-09-08-12-33-14
    ******************************/****/index.php/home1/item/75-2013-2014
    ******************************/****/index.php/home1/item/70-2013-09-05-07-21-34
    ******************************/****/index.php/home1/item/73-2013-09-08-12-23-59
    ******************************/****/index.php?start=80
    ******************************/****/index.php/home1/item/72-5-webometrics
    ******************************/****/index.php/home1/item/69-2013-09-05-07-20-32
    ******************************/****/index.php/home1/item/82-2014-2013
    ******************************/****/index.php/home1/item/71-2013-09-05-07-23-43
    ******************************/****/index.php/home1/item/85-2013-09-25-08-34-44
    ******************************/****/index.php/home1/item/81-2013-09-25-08-27-46
    ******************************/****/index.php/home1/item/83-2013-09-25-08-30-45
    ******************************/****/index.php/home1/item/84-2013-09-25-08-33-41
    ******************************/****/index.php?start=88
    ******************************/****/index.php/home1/item/67-2013-08-06-08-46-56
    ******************************/****/index.php/home1/item/68-2013-08-21-13-31-51
    ******************************/****/index.php/home1/item/65-2013-07-29-09-45-15
    ******************************/****/index.php/home1/item/66-2013-07-29-11-15-54
    ******************************/****/index.php/home1/item/64-2013-07-18-12-15-50
    ******************************/****/index.php?start=96
    ******************************/****/index.php?start=104
    ******************************/****/index.php/home1/item/32-2013-06-03-10-14-04
    ******************************/****/index.php/home1/item/34-2013-06-05-12-54-27
    ******************************/****/index.php?start=112
    ******************************/****/index.php?start=120
    ******************************/****/index.php?start=128
    ******************************/****/index.php?start=136
    ******************************/****/index.php?start=144
    ******************************/****/index.php?start=152
    ******************************/****/index.php/college-board
    للاعلان في اكبر تجمع للمهندسين تفضل من هنا
    http://tkne.net/adss.htm

    للاطلاع على سيرة مؤسس موقع التقنية
    http://www.google.com/profiles/fahadrafai#about

    للبحث عن المواضيع في موقع التقنية
    http://www.tkne.net/vb/archive/index.php/

المفضلات

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

https://fahraf1.com/wp

https://electricstuffs.com

http://www.tkne.net/vb/announcement.php?f=2