[solved] – Question 9127

hi. in c# there is not solution like solution “windowsFormsApplication1” within solution Explorer window
I need it for get setup.

Expert Answer


[solved] – Question 91296

Library Card Catalog – Problem Description
A library wants to replace its outdated card catalog with a computerized system. Your job as
analysis is to create a software that uses a set of new classes that are used to build the system.
The new system should allow a user to enter either a catalog number or a title and have all
the information on the identified title printed on the screen. In addition to the title and catalog
number, the system must keep track of whether a book is hardcover or paperback

Expert Answer


[solved] – Question 91309

Math homework

Expert Answer


[solved] – Question 91355

Some mobile software programs are designed to be compatible with popular __ to facilitate sharing documents between the two platforms

Expert Answer


[solved] – Question 91388

Write a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.

Now add a function named clear_screen that uses a combination of the functions nine_lines, three_lines, and new_line (provided below) to print a total of twenty-five lines. The last line of your program should call the function clear_screen.

The function three_lines and new_line are defined below so that you can see nested function calls. Also, to make counting “blank” lines visually easier, the print command inside new_line will print a dot at the beginning of the line:

def new_line():

print(‘.’)

def three_lines():

new_line()

new_line()

new_line()

Expert Answer


[solved] – Question 91425

Design a class named Person with properties for holding a person’s name, address, and telephone number. Not by using get/set functions.

Expert Answer


[solved] – Question 9143

Write a function displayTotalCost prototyped by

void displayTotalCost(double totalCost, unsigned recordNum, bool aborted);

so that the execution of this function will first display the total sale cost stored in variable totalCost and the total number of sale records stored in recordNum. If aborted is true, then the function will also display an error message to the effect “Input terminated by invalid data at record” followed by the corresponding record value. For example, displayTotalCost(55.55, 3, false) could just display

Total sale cost (3 records) = $55.55

while displayTotalCost(66.66, 7, true) could display

Total sale cost (7 records) = $66.66
Input terminated by invalid data at record 8.

Expert Answer


[solved] – Question 9144

Write a function readSaleRecord prototyped by

int readSaleRecord(unsigned & itemId, double & itemPrice,
char & discountType, unsigned & quantity);

so that the execution of this function will retrieve 4 fields, i.e. the item ID itemId, the original item price itemPrice, the discount type discountType and the quantity quantity, from the stdin device. The returned value will be 0 if the reading has been successful, and will be non-zero if otherwise. In fact, when the record is not successfully read, the returned value will be 1 if it’s due to receiving 0 for the item ID or hitting the EOF, and will be -1 if otherwise.

Explain (i) what do the ampersands “&” do in the prototyping; (ii) is this function still syntactically correct if some of these 4 ampersands are removed from the function header; and (iii) will your program still work if one of these 4 ampersands is removed and why. Please also use the following interface for the input.

Enter
-> item ID: 101024
-> full item price: 199.95

Expert Answer


[solved] – Question 91494

Write a C program to read 1 integer input and 1 float input from user. With the inputs, calculate the quotient and print it to screen.

Expert Answer


[solved] – Question 91495

Write a C program to read 1 integer input from user. Multiply 3 to the input, convert the result to string and print the result.

Expert Answer