[solved] – Question 7940
write a program that prompts the user to enter mark for 10 subjects let the program compute the average mark and use it to display a special message in the following points;
a)if average mark is less than 40 display fail
b)if the average mark is greater than 40 but less than 60 display credit
c)if equal to o greater than 60 display distinction
d)if less than 0 or greater than 100 display error
Expert Answer
[solved] – Question 79404
Write a program to accept a list of nonnegative integers from user and to display the largest integer, the smallest integer and the average of all the integers. The user indicates the end of the input by entering a negative sentinel value that is not used in finding the largest, smallest and average values. The average should be a value of type double so that it is computed with a fractional part.
Expert Answer
[solved] – Question 79405
Write a program that accepts a string from the keyboard and tests whether it contains a valid date. Display the date and a message that indicates whether it is valid. If it is not valid, also display a message explaining why it is not valid.
The input date will have the format mm/dd/yyyy. A valid month value mm must be from 1 to 12 (January is 1). The day value dd must be from 1 to a value that is appropriate for the given month. February has 28 days except for leap years when it has 29. A leap year is any year that is divisible by 4 but not divisible by 100 unless it is also divisible by 400.
Expert Answer
[solved] – Question 79406
To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number meaningful, companies must use more than seven letters. For example, 225-5466 can be displayed as CALL HOME, which uses eight letters.
Write a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits. If the user enters more than seven letters, then process only the first seven letters. Also output the – (hyphen) after the third digit. Allow the user to use both uppercase and lowercase letters as well as spaces between words.
Expert Answer
[solved] – Question 7942
using arrays write a simple program to display numbers 1-20
Expert Answer
[solved] – Question 79427
From: Zdenek Markovic
zdenek@pcnet.comJul 26 2018
I need small help with my C programming code.
I am tryint to read temperature from Analog Devices chip AD7414.
To read the value needs a two byte read.
The fist byte returns the correct value but the second one always return FF.
I can’t fugure out why.
Can someone help me.
I am enclosing the whole zipped project.
I beleive the issue is in the AD747_Read.c/EpromRead file
Thank you
Zdenek
Expert Answer
[solved] – Question 79458
Consider the problem of finding the location of all positive elements in a 2D matrix. Write a Matlab script to solve it:
a)Using the Matlab find function (without loops).
b)Using for loop.
c)Using while loop.
d)Use the tic and toc function to compute the execution time for each code segment. Use help feature to review these two useful functions. Show a screenshot of the output and state three conclusions about this experiment.
Expert Answer
[solved] – Question 79459
Write a C++ code which writes the resultant words to the output file, “second file.txt”.
Example: Content of first_file-“I am going to buy an umbrella”
Output in second_file.txt- I am an umbrella
Expert Answer
[solved] – Question 7947
please help.using sets: Let the text, ending with a point and consisting of the words divided by blanks. A word-sequence of latin letters. Print the words of the text having odd number in which there is no repeating letter.
Expert Answer

