class in c++
parameterized constructor CoffeeCup(string t, float temp float vol, int sug)
1.void heatUp(): //this method represents the process of heating the coffee, the current
temperature of coffee goes up by one degree if it is below 100 and stays the same otherwise
2.void cooldown(): the process of cooling down. The temperature goes down by one degree but
will not go below 0
3.bool isSweet():// returns true if this coffee has any amount of sugar in it and 0 if not at all
4.bool hasMore(): //this method checks if the cup has coffee in it that a person can take a sip
from. For the implementation assume that one sip consumes a volume of 0.3 ml.
5.bool isEmpty(): // returns true if a person can take a sip from this cup and false otherwise
6.bool takeASip():// this method represents the actual act of sipping.
Write a program the declares and initalises the variable myNum to the value 20.
Miss question was the ofference bene and
Now using a while loop decrease the value of myNum by 0.5 and continue to print its value as long as it remains positive (e.g. above zero).
Write a NEAR subroutine using 8086 assembly Language (with proper comments) that returns the smallest byte value in a byte array of length 5-bytes. The array is declared in the calling program and the base address of the array is passed to the subroutine in the stack. You should write both the calling program and subroutine.
Write a program using 8086 assembly Language (with proper comments) that accepts a two-digit input from the keyboard, converts it into an equivalent binary number and subtracts this value from every element of an array of length ten bytes. Assume that the array is stored in the memory. Make suitable assumptions, if any.
Write a value-returning method, isVowel, that returns the value true if a given character is a vowel, and otherwise returns false. Also write a program to test your method.
Getting the age of participant, of the age is less than or equal to 17 you need to print sorry you are not able to join the event, else you need to print welcome to the event.
Getting the age of participant, of the age is less than or equal to 17 you need to print sorry you are not able to join the event, else you need to print welcome to the event.
VISUAL BASIC C#
Manny Management Consulting charges P2,000 for training fee
and P150 per person for registration fee. Create an application
to help the accountant make a billing statement showing the
customer's name, address, number of participants, training fee,
registration fee and total amount due.