WAP to create 3 Classes. Each class must have input function (to input one value from user) and display function. Make a common friend function of three class that find greatest number.
A stationary store uses a system to generate the customer purchase amount. The cashier needs to key in the item code and item quantity. Then, the system calculates the purchase amount and generate a receipt for the customer. Information on item code, item name, item description, item quantity, item price and purchase amount will be printed on the receipt.
There are different kinds of numbers, but among them all, the most commonly used numbers in our daily lives are those positive ones. So, I only want you to count all the positive numbers from the 4 inputted values and print out the result.
Go and search for the positive ones among these four!
Can you identify if Cody's name is spelled right? If so, then make a program that accepts four one-letter strings separated by space and print "Correct" if the inputted strings, combined in order, spell the name Cody correctly. If not, print "Wrong".
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.