Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Write the pseudo code (algorithm) for the following program definition: a text file contains a square matrix of integer numbers. The file contains an integer number indicating the identical number of rows and columns followed by the data itself (that number cannot be larger than 100). For example a file contains a 3x3 matrix would contain 3 followed by 9 other integer numbers. The program will call one function to determine if all the numbers on the main diagonal are the same.
The function is called checkdiag(int checkdiag (int matrix[][100], int size)) that will return 1 if all the numbers on the main diagonal are the same and 0 otherwise.
Your program will read the array from the file, check the diagonal and print a report containing the size and the status of the diagonal. A typical report would look like: The matrix is 3x3 and all the numbers on the main diagonal are the same.
Part 2:
Write another function called checkdiag2(int checkdiag2(int matrix[][100], int size)) that will return 1 if all the numbers on the anti diagonal are the same and 0 otherwise.
Rewrite your main program to use 2D dynamic allocation instead for your arra. Your array will have rows and columns depending of the first integer read from the file.
Call your function from the main program. A typical report would look like: The matrix is 8x8 and all the numbers on the anti diagonal are the same.
Write a function that accepts a pointer to a C-string as an argument and capitalizes the fist character of each sentence in the string. For instance, if the string argument is "hello
A c++ program that compares the number of possible sequences of the length L that can be generated uinder the following assumptions. Given an alphabet of size N=9. The program must output a formatted list comparing the number of possible sequences..
In C++(must be able to compile in Visual Studio ): Write a program to produce ten random permutations of numbers 1 to 10.
Prepare a C program that gives simple mono-alphabetic substitution between plaintext, and Enhance your code to use "-e" to encrypt a string argument and "-d" to decrypt it using argv and argc
The project is to design and write a C++11/FLTK game program with a graphical user interface. The game is based on "pancake sorting," which actually has some mathematical significance.
Write a program to crypt its input according to a specified transformation scheme
What skills are required by personnel working in information security? Write down some job titles in the field and come up with some required qualifications and some desirable qualifications.
Let S be the set of positive integers that can be written as a sum of one or more 4's and/or 7's. For example, 7 ? S and 18 ? S (because 18 = 4 + 7 + 7)
Write a C program that has a parent process, a child process, and a grandchild process. The parent process should print its id and the square or 5.
Create a function to print "88 is a great port number" function name is yourName_PrintFunction no input no return type print "88 is a great port number"
Using functional decomposition, write a program that plays a tic-tac-toe game.
Keep track of the size of the array so that you cannot exceed the array boundaries. The implementation details (i.e. the private members)of your class are up to you, but the class should have the following public interface
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!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd