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

How can you make richer interaction in HCI application? Explain with example


Write a C++ Program ,

Create a typedef structure called Doctor that includes medical license (strin g), name of the doctor (string), channeling fee (float) and the number of pa tients checked during the week (int array)


Write a function called getData( ) which is the data type of Doctor that reads the details of Doctor and store them in the variable of the Doctor typedef structure


Hint Use the given function prototype as

Doctor geData (Doctor d);


Write a function called calDocFee( ) which takes three parameters, channel fee of the doctor, number of patients channeled in a week (7 days) array and the size of the array. Find the total charges for channeling of the doctor and print the total channeling fee


Call the getData( ) and calDocFee( ) functions in the main function to print the following output as required

Output

Enter medical license : PH-1234

Enter the name of the doctor :saye

Enter the channeling fee:1500

Enter the number of patient-Day 1:3

Total channeling fee: 63000


Create a structure named student consists of members name ,age and mobileno. create structure variable to use both dot and arrow operator to access structure members.

Runtime Input :









Create class fraction with necessary member variables and member functions .Overload + operator to add two fractions.Also overload << and >> operator to input and print fraction .


Read two strings from a user to perform concatenate and length operations of a string including and excluding space. Write a program to handle string operations using pointers as reference to the function and without using library functions.

Runtime Input :

Pointers

Are Easy

Output :

Pointers Are Easy

Length of String Including Spaces =17

Length of String Excluding Spaces = 15


possible threats and precautionary measures for theft and mysterious disappearance of accounts data at an institution


Write a program to display the summation of the following series :


12 + 32 + 52 + 72 + 92 + 112 + 132

+ 152


1)write a function using c++ statements called PrintChart( ) which takes three float arrays (value1,value2,value3) and an integer (as day) as parameters . The function calls GetProduction and PrintBar to print the output as given below


Output

Day 1

Machine A**

Machine B*****

Machine C****


2)Write a function using c++ statements called PrintBar( ) which takes a float ( as production ) as a parameter. The function prints asterisks on the screen based on the production .

Note: 1 asterisk = 10 production units (round up the production units )


Input

Machine A Day 1 production 15.5

Output

**


Write a program to display the summation of the following series :

12+ 32+52+72+92+112+132 +152


BEGIN


READ pricePerTicket, numberOfPerson total = pricePerTicket X numberOfPerson IF total is greater than or equal to 200


ELSE

discount = 20%

discount = 5%

amountDiscount = total – discount DISPLAY total, amountDiscount


END


 Draw the equivalent flow chart of the pseudocode.


LATEST TUTORIALS
APPROVED BY CLIENTS