Skip to content
Marketing – vCMO
WordPress Plugin Development
Full-Stack Web Development
About Matthew Maennche
C++ Solution Map
Java Solution Map
Python Solution Map
Visual Basic Solution Map
Learn To Code
Microsoft Dynamics CRM
The class Date has a single constructor that accepts the integer value: a month- (1 for January through 12 for December), a day of the month (1-31), and a year (in that order).
Assume that name is a variable of type string that has been assigned a value. Write an expression whose value is the last character of the value of name. So if the value of name were “Blair” the expression’s value would be ‘r’.
In mathematics, the Nth harmonic number is defined to be 1 + 1/2 + 1/3 + 1/4 + … + 1/N. So, the first harmonic number is 1, the second is 1.5, the third is 1.83333… and so on.
The dimensions (width and length) of room1 have been read into two variables: width1 and length1. The dimensions of room2 have been read into two other variables: width2 and length2. Write a single expression whose value is the total area of the two rooms.
Diamond Pattern Write a program that displays the following pattern
Land Calculation One acre of land is equivalent to 43,560 square feet. Write a program that calculates the number of acres in a tract of land with 389,767 square feet.
Write a loop that reads positive integers from standard input and that terminates when it reads an integer that is not positive.
Given a two-dimensional array of integers named q, with 2 rows and 4 columns, write some code that puts a zero in every element of q.
You are given a 6×8 (6 rows, 8 columns) array of integers , x, already initialized and three integer variables : max, i and j.
Given an array arr of type int , along with two int variables i and j, write some code that swaps the values of arr[i] and arr[j]. Declare any additional variables as necessary.
Given a type Money that is a structured type with two int fields, dollars and cents declare an array monthlySales with 12 elements of type Money.
Write a single statement that assigns a new value to the element of the array indexed by j. This new value should be equal to twice the value stored in the next element of the array (i.e. the element after the element indexed by j).
Scroll To Top