write a function that accepts three arguments a number n, and two character s and t. the function covert n from s unit to t unit of similar physical quantities. you can choose one of the following types to use in your program. 1.length 2.temperature 3.area 4.volume 5.weight 6.time
Write a program that uses a two dimensional of 256 x 8 to store 8 bit binary representations of each of the characters of ASCII character set
Write a program that swaps values between different locations in a two dimensional array. Make sure that the locations between which the values are being exchanged are symmetric.
Take 3 values find out average of three values check with result is less than 500 and result is greater than 500
Write a program that swaps values between different locations in a two dimensional array. Make sure that the locations between which the values are being exchanged are symmetric.
Write a program that uses a two dimensional of 256 x 8 to store 8 bit binary representations of each of the characters of ASCII character set.
Write a function that accepts three arguments a number n, and two characters s and t. The function convert n from s unit to t unit of similar physical quantities. You can choose one of the following types to use in your program:
1. Length
2. Temperature
3. Area
4. Volume
5. Weight
6. Time
Write a function that accepts a character ch and a number n as arguments. The function then displays an n x n grid filled with ch. Use the function in a program.
Write a program that declares a structure to store income tax, tax rate and tax of
a person. The program defines an array of structure to store the record of five
persons. It inputs the income and tax rate of five persons and then displays the
tax payable.
Task 2: Test for Palindrome (recursive)
Write a function isPalindrom() that takes as input a C string and its size, and recursively tests whether it is a palindrome (a word or phrase which remains the same if reversed. e.g. radar, kayak etc). The function returns the Boolean data type which is either true or false. The required header “stdbool.h” has already been included in tasks.h.
The function has the following prototype:
bool isPalindrom(char * ptr_array, int size);
The recursive definition of a palindrome is:
The string is a palindrome if it has only one character or is an empty string.
The string is a palindrome if the first and the last characters are the same and the characters in between form a palindrome.