In C++ Make a class CoffeeCup. A coffee cup will have following characters: type (string): mocha, cupaccino, etc. Temperature (float): represents the measure of temperature in degrees. Volume (float):volume of coffee in the cup in ml. Sugar (int): no. of teaspoons of sugar added to coffee. Provide parameterized constructor CoffeeCup(string t, float temp float vol, int sug). Provide setters & getters of temperature, sugar, volume and type. bool hasMore(): this method checks if the cup has coffee in it that a person can take a sip from. Assume that one sip consumes a volume of 0.3 ml. So do some calculations in this method to check if it has any sips left depending upon the volume available. bool isEmpty(): returns true if a person can take a sip from this cup and false otherwise. bool takeASip(): this method represents the actual act of sipping. One sip is taken i.e. the volume equivalent to one sip is taken away. Provide a method print, that displays the status of the cup with respect to all data members
Write a program that allows the user to enter any number of names; i.e – last name and first name. Using one of the predefined methods of the Array class, order the names in ascending order. Display the results.
Write a program that allows the user to enter any number of names; i.e – last name and first name. Using one of the predefined methods of the Array class, order the names in ascending order. Display the results.
Develop a stack using C program to check whether the given expression [a+[b+(c+d)]} is balanced or not
create a program that is expected to monitor access and attempted accesses to your network. All logon activities should be logged. All passwords should have a minimum length of 6 characters and they should use a mixture of letters, numbers and capital letters. Users are required to change their password every 30 days. All users are to get 700 MB secure storage space on the server for personal use. All home folders must be protected in such a way that only the owner can access his/her home folder. All users except those in production should be able to retain their individual settings regardless of the workstation they are using. Users in Production should not be able to change their individual setting and any changes should be discarded on log off.
Examine what Big-O notation is and explain its role in evaluating efficiencies of algorithms.
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ……..
Algorithm for an application for a Pizza delivery company. The application must provide a place for the user to enter their contact information (address, cell, telephone, e-mail) and some of the contact information should be displayed when the order is placed. Your application should have a picture logo and company name. Provide selections such as small, medium and large for pizza (Vegetarian, Hawaiian, Something Meaty.