Assignment Detail

Tutors

ENG 200 Computer Programing for Engineering Assignment

    Assignment Instructions

    Assignment ID: FG132621880

    ENG 200 Computer Programing for Engineering – American College of the Middle East

    Question 1:

    Write a program that asks user which digit to print and then print it in 6 rows & 6 columns using nested loop.

    See the output attached below

    Insert a copy of your code (not screenshot) and explain in details. Use comments for detailed explanation(20pts)

    Use Visual Studio or gdb online compiler(for any other compiler give its name and explain how you use it) and insert a clear screenshot of your output with code (5 pts) (Give any digit different than above example to show output of your code)

    Question 2:

    Write a C program that reads each integer entered by user and checks if it is divisible by 10 Program should ask for new integer after finishing each calculation.

    Insert a copy of your code (not screenshot) and explain in details. Use comments for detailed explanation(20pts)

    Use Visual Studio or gdb online compiler(for any other compiler give its name and explain how you use it) and insert a clear screenshot of your output with code (5 pts) (Give any number different than above example to show output of your code)

    Question 3:

    Write a C code to declare an array of maxsize 100. Array size should be asked to user and initialize array with the numbers entered by the user and then to find how many of the entered numbers are bigger than or equal to 20.

    Insert a copy of your code (not screenshot) and explain in details. Use comments for detailed explanation(20pts)

    Use Visual Studio or gdb online compiler(for any other compiler give its name and explain how you use it) and insert a clear screenshot of your output with code (5 pts) (Give other elements different than above example to show output of your code)

    Question 4:

    Write a program that asks the user to input n integers in an array (n is between 1-100) and then check each element if it is positive or negative .If the element is negative should be multiplied by -1 and saved in array as positive.

    • Insert a copy of your code (not screenshot) and explain in details. Use comments for detailed explanation(20pts)

    • Use Visual Studio or gdb online compiler(for any other compiler give its name and explain how you use it) and insert a clear screenshot of your output with code (5 pts) (Give any number different than above example to show output of your code)

    Bonus:

    1. What is the value of B given that: int B=8+4/2;

    2. Which type of variables use %f as conversion character?

    3. Is She_02 a valid variable name? Explain why

    4. Which character is used to print a new line?

    5. Which loop is a post-test loop?

    Attachment:- Computer Programing for Engineering.rar

    Need fresh solution to this Assignment without plagiarism?? Get Quote Now

    Expert Answer

    Asked by: Anonymous
    Plagiarism Checked
    Answer Rating:
    4.6/5

    Plagiarism free Answer files are strictly restricted for download to the student who originally posted this question.

    Related Assignments

    //
    Our customer support team is here to answer your questions. You can send Assignments directly to support team.
    👋 Hi, how can I help?