ENG 200 Computer Programing for Engineering Assignment Help

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


Order Assignment gulfassignmenthelp Rated 4.9 / 5 based on 22789 reviews.
Captcha

Seeking Trusted Advice of High Skilled Tutors for Gulf Assignments? Order Now