Write a c code to declare an array of maxsize

Assignment Help C/C++ Programming
Reference no: EM132740370

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

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

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 (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

• 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 (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

Reference no: EM132740370

Questions Cloud

Job analysis : Compare and contrast two methods for collecting job analysis data, and then outline the pros and cons of each method.
Experiment with the comet function : Experiment with the comet function: Try the example given when help comet is entered and then animate your own function using comet.
Job design-job redesign and workflow analysis : Analyze at least two reasons why job analysis is often described as "the foundation of human resources management."
What do you think caused the housing crisis : What do you think caused the housing crisis beginning in 2008? Do you think a mortgage should require a down payment? Explain why.
Write a c code to declare an array of maxsize : 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
How would you handle this scenario : Do you feel that there is an ethical issue with this situation? If you were Els (the salesperson), how would you handle this scenario
What way might you accommodate the customer : In what way might you accommodate the customer and at the same time protect your bank?
Determine the friction factor for a reynolds : Determine the friction factor for a Reynolds number R = 400.000 and a relative roughness e/0 = 0.006 using Moody diagram and from Swamee-Jain Equation
Compute the inventory turnover rate : Havier's Treasures had cost of goods sold of $600,000, ending inventory of $250,000, and average inventory of $200,000. Compute the inventory turnover rate

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd