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

The formula below decribes how to convert a temperature on the Fahrenheit scale to a temperature on the Kelvin scale.

TempK = (TempF − 32) × 5/9 + 273.15

Using the variables below Write one line of code to implement the formula


// Kelvin temperature

float TempK;

// Fahrenheit temperature

float TempF = 72; 


//One line of code to calculate temperature in Kelvin


---------------------------------------------------------------------------


Using while or do-while. Make a program that will input two number, If the two number entered are ODD then perform the addition and display the Sum. Your program will be terminated by an option if the user not to proceed another entry.

Ex, No. 1: 5 No. 2: 3

Sum is : 8

No. 1: 3

No. 2: 2

One of the number entered is not ODD


Write a program for:

Searching a word present in a sentence or not, if present print its location with a successful note.


Write a program to implement Symbol Table using the concept of Hashing with separate chaining. The idea is to make each cell of hash table point to a linked list of records that have same hash function value. 


Input: The identifier, its type and line number , which may contain repetitive entries.


 Hashing function : a) Compute the sum of ASCII values for a given input to identify the cell in hash table b) The size of the hash table is 100.


 Expected output: i) The hash table (Symbol table) along with identifiers, type, line number


Write a program in C++ that stores the numerator and denominator of two numbers infraction, after adding them the result is also stored into fraction format. Use structure fraction to store these numbers and their result (Bothnumeratoranddenominatorshouldbeof type int).



Write a programming C++ that calculates the number of possible arrangements for any number of guests and any number of chairs. (Assume there will never be fewer guests than chairs). A simple for loop should do it. for example the possible arrangement of six guests in four chairs is 360.



Create a structure called time. Its three members, all of type int, should be called hours, minutes, and seconds. Write a program that prompts the user to enter a time value in hours, minutes, and seconds. This can be in 12:30:50 format. The program then stores the time in a variable of type time, and finally prints out the total number of seconds.


Create a structure a type date that contains three members: the day, the month, the year, all of type int. Here the user enter a date in the format 10/9/2007, store it in a variable of type date, then retrieve the value from the variable and print the mouth in the same format.


Create a structure called volume that uses three variables of type Distance (structure) to model the volume of a room. Initialize a variable of type volume to specific dimensions, and then calculate the volume it represents and print out the result.


Create a recursive function dec to bin to find the binary representation of a non-negative integer.


LATEST TUTORIALS
APPROVED BY CLIENTS