[solved] – Question 84600

An internet cafe chargers Rs 10 per hour from its customer seven if user does not use for full hour, he/she has to pay minimum for a full hour . To keep track of number of customers visiting and total collection made the following class definition is used.
Define a class Icafe to model a public internet cafe:

Expert Answer


[solved] – Question 8467

my question if anybody can explain to me …why specifically the first 31 characters of an internal name are significant.

to make sense if i’m understand it correct in c99 the first 63 are significant is it because the all character combinations included in 63 characters as(26 for upper cases alpha,26 for small alpha,0-9 and 1 letter for universal letters)…if what i understand is correct so why 31.

Expert Answer


[solved] – Question 84716

Write a program in c++ to read an array of sorted integers.Search for a value using binary search method.If the element is found,print its location else print element not found.

Expert Answer


[solved] – Question 84864

Personal Organizer

In this program you will create a personal organizer. Using parallel arrays you will store the following information on each event in your organizer:

Month (1 – 12)
Day (1 – 31)
Year
Event name
If the user enters an incorrect month the month should be set to January.
If the user enters an incorrect day then the day should be set to 1.

Write the following methods:

Add an event
Print all events
Print events in a specific month
Your program should follow how the sample run (below) asks for input and how it outputs events.

It should first keep asking for new events to add until the user says NO. Then, it should print all the events entered. Finally, it should ask the user for a specific month that he or she would like to see events from.

Expert Answer


[solved] – Question 84881

Write a program in C++ using the While loop, that continues to ask the user to enter
any number other than 5 until the user enter the number 5.
When the user enter the number 5, two messages will be display “Hey! You weren’t
supposed to enter 5!” and “End of the game: Good Bye”. After these messages the
program should execute.

Expert Answer


[solved] – Question 84904

How do I create this shape: a hexagon with a pentagon in it with a square in it with a triangle in it

Expert Answer


[solved] – Question 84952

I am working on a web project. There are a initial value. Using a custom graphic/picture, show the initial value where each graphic represent 5 units. How to use a graphic/picture to represent a value on a webpage?

Expert Answer


[solved] – Question 84961

i am having a problem with errors in my code and i would like an open line of questioning to get assistance if that is possible. Specifically segmentation fault for my object orientated programming class

Expert Answer


[solved] – Question 84981

Using JavaScript, create a function called “generateEven” that will return array containing only even numbers between 1 and n. n is passed as a parameter to the function.

Expert Answer


[solved] – Question 84982

Using Javascript, Write a function called “getSize” that accepts an array and display the number of elements in an array (list).

Expert Answer