Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a program in C++

When an input is 1, display ‘True’. When an input is 2, display ‘False’. When an input is other than 1 or 2, display ‘Invalid’. 


In C++ create a code that Asks for a birth date then compute and display the exact age in a year


write a program that calculates and produces these two columns sequence numbers using the three looping statements



Find the area of a circle where the radius is provided by the user.

Write a C program that displays the word “WOW” vertically in large letters (similar to


Tut1.1). Each letter should be drawn by a function, e.g. Draw_W, Draw_O, etc. In the


beginning of the program the user must be asked how many times the speaker must beep.


Once the word “WOW” is displayed, the speaker must then be beeped for that amount of


times and must display a “.” for every beep (horizontally). This beep and display of the “.”


must be done by another function called Beep. Make use of the following structure chart


to assist you.

The user must enter a positive integer between 5 and 15. If this number is valid, the






user must also choose between a triangle (T or t) and a square (S or s). Display suitable






error messages if necessary; otherwise, the program must use an asterisk to draw a






triangle or a square of the chosen size and display. Use a Select Case structure to make






the decision. Display appropriate error messages where applicable.

Write a program that check and classify buttons pressed on the keyboard.


After pressing any button, the program


should display one of labels: - lowercase letter


- capital letter


- digit


- ENTER


- ESC


- Left Arrow


- Right arrow


- F1 function key


- Another (unrecognised) key


HINT: to retrieve the keyboard key code, use function getch() from the library <conio.h>.


1.     Write a function that displays the maximum and minimum of a list of numbers entered from the keyboard.  Where the size of the list is to be entered from the keyboard.



1.     Write a function accepts list of marks of students and counts the number of students who have scored marks greater than 20 in an exam out of 30. The total number of students who took the test is to be entered from the keyboard. 


1.     Write a function accepts list of marks of students and counts the number of students who have scored marks greater than 20 in an exam out of 30. The total number of students who took the test is to be entered from the keyboard. 



LATEST TUTORIALS
APPROVED BY CLIENTS