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

pager:


input:

abde(1+2+4+5)

output:

12


input:

XYZ

output:

75


Before and After

by CodeChum Admin

The only constant thing in the world is change. That’s why we need to call the toupper() function to change what we already have into a better version.


Instructions:

  1. Your task is to ask the user for a character input.
  2. Then, include the ctype.h built-in library and call the toupper() function. In case you do not know what this function is, this function has the following definition:
  3. Return type - int
  4. Name - toupper
  5. Parameter - one integer which represents the ASCII of a character
  6. Description - returns the ASCII of the uppercase equivalent of the character passed
  7. Extra note - even though it's function definition in the C Programming Language Documentation is int toupper(int ch), you can just pass a normal char variable instead and this will just be automatically typecasted/converted to its integer equivalent.
  8. Once you get the uppercase equivalent, print this out.

Input


1. Letter to be updated





Create a class Library with data members dept_name, rack_no, quantity which is inherited in class Book with data members book_name, author_name. Initialize the data for book and display the data of book with its dept_name, book_name, author_name, quantity and rack_no.

Determine the complexity of the expression



(I) 5n² + 3nlogn + 2n + 5 that log n <= n for n >= 1



(II) 5n⁴ + 3n³ + 2n² + 4n + 1

  1. Write algorithms/pseudocode on:
  • Linear Search
  • Binary Search
  • Bubble Sort
  • Quick Sort

2.After the algorithm/pseudocode ends, provide the time complexity for each of them



Based on the inheritance hierarchy/tree, write a C++ program to get the width, length and




height from users and call the calculateArea() member function of the Calculate




drived class to determine and return the volume of the user’s input. Before the program




ends, display all values read from users and the calculated area.





2. Make a C++ program that will calculate the total expenses and Cash left of Miss Carla after spending the following : 

Cash - 4,050.00 

  B&W perfume - 700.50

  B&W lotion - 560.85

  Dresses - 2072.50 


Note : the program must display the cash left and total expenses. 


1. Create a C++ program that let the user input his/here grade on the following subjects: Programming, Web Application, Oral Communication, Multimedia and Physics and calculate the average. 


Note : the program must also display/output the subjects with grades from the user and the average. 



Write a java program for Tlhogi’s Car Care Shop that shows a user a list of available services: oil change, tire rotation, battery check, or brake inspection. Allow the user to enter a string that corresponds to one of the options, and display the option and its price as R25, R22, R15, or R5, accordingly. Display an error message if the user enters an invalid item. Save the file as CarCareChoice.java.




It might not be reasonable to expect users to type long entries such as “oil change” accurately. Modify the CarCareChoice class so that as long as the user enters the first three characters of a service, the choice is considered valid. Save the file as CarCareChoice2.java.




Finally write a test class to test both classes. Save the file as TestCarCareChoice.java

Write a MatLab program to find the value of ×, y and z using Gauss-Elimination method in

the following equations

2x+4y + 2 - 3;

3x+2y - 2z= -2;

x-y+z=6.


LATEST TUTORIALS
APPROVED BY CLIENTS