Write a c program that fills a two dimensional array element

Assignment Help Computer Engineering
Reference no: EM132196183

Question :

Write a C program that fills a two dimensional array element with the character 'O' (capital Oh) when the sum of the row and column index is odd and the character 'E' when the sum of the row and column index is even.

You must use a bit mask to determine whether the number is odd or even. No credit will be given for using the % or/operators to determine odd or even.

Reference no: EM132196183

Questions Cloud

Find the maximum of an integral data set : The program will first ask the user to input the number of data values in the set and finally should display a pointer that points to the maximum value.
Write a c program that detects and reports on areas : You should preprocess your data to eliminate noise in following manner: for every negative value you encounter, average the (maximum of) 8 squares around it.
Write a c program to find the count of words : Write a C program to find the count of words and optionally the longest and or shortest words in a string input by the user or coming from a file.
Explain washington legacy to independence : Analyze the reasons why Congress selected Washington as commander-in-chief. Explain Washington's legacy to independence.
Write a c program that fills a two dimensional array element : Write a C program that fills a two dimensional array element with the character 'O' (capital Oh) when the sum of the row and column index.
Make a program to prints out the even integers : Write a c++ program that prints out the even integers between 2 and 100.
Review given problem on health care professionals : Meaningful use was designed through standards governing the manner in which health care records are utilized by health care professionals.
Write a function that takes two dates in the structure : In writing the days function, use the convention that all years have 360 days and each month consist of 30 days.
Construct three to four paragraphs using given information : You will construct three to four paragraphs comprised of five to seven sentences each. Each paragraph should be between 150-200 words.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a function called minimum that return smallest integer

Write a function called Minimum that returns the smallest of its three Integer parameters.

  Design the program in vb.net with a graphical user interface

Write down the program in VB.NET (not Web based) with a graphical user interface. Have the user input the amount in one currency and give him a choice to either specify a currency to convert to OR calculate results for all available currency conve..

  Define the phone constructor to initialize the values

Write a class called Phone that contains instance data that represents the make, model, and year of the phone. Define the Phone constructor to initialize.

  Role of antennas in transmitting radio waves

Explain the role of antennas in transmitting the radio waves. What kinds of antenna are typically used in the wireless LAN?

  Describe concept of interaction design

One of your colleagues who is not familiar with Interaction Design. Explain and describe concept of Interaction design to him or her. Please add appropriate details and examples with applicable references in APA style.

  What is the physical characteristics of disk

A disk may have multiple surfaces, arms, and heads, but when you issue a read or write, only one head is active at a time. It seems like one could greatly.

  What happens if you multiply a number by a string

What happens if you multiply a number by a string? Try 5 * "=". Store the result in variable s. What happen if you multiply that string by 10 and then print it?

  Make a program of a factorial function to calculate

Write a C++ program which calls a factorial function to calculate N!. N! is the product of all whole numbers from 1 to N.

  Create an interface for automobile mechanics

Imagine you are managing a design project that will create an interface for automobile mechanics. The interface would be used by the mechanics to look up.

  Which of the following heuristic functions are admissible

Let D(x, y) denote the straight-line distance between two locations on a planar map (in kilometers). Which of the following heuristic functions are admissible

  Expalain a programming language is machine independent

What does it mean that a programming language is strongly typed.

  What happens when an exception is never caught

What happens when an exception is never caught? Can you nest a try block inside another try block?

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