Homework Answers

Math 58880 52480
Physics 50710 47629
Chemistry 44357 42759
Programming & Computer Science 34330 30918
Economics 34267 33209
English 12729 11462
Biology 9425 8734
Management 8270 7078
Engineering 8082 6895
History 4259 3853
Psychology 2611 2287
Geography 2457 1903
Sociology 2387 2125
Law 2080 1463
Other 2007 1890
Marketing 1915 1605
Philosophy 1405 1148
Political Science 1107 1010
French 565 528

Questions: 281 843

Answers by our Experts: 258 976

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

find the surface area of the object obtained by rotating y=4+3x^2, 1<=x<=2 about the y axis

If 10% of the Screws produced by an automatic machine are defective, find the probability that out of 20 screws selected at random, there are



(i) Exactly 2 defective



(ii) At least 2 defectives



(iii) Between I and 3 defectives (inclusive).

Create a class Employee with following data members, name, id, and salary as private data member. Create array of objects for four employees, compare their salary using operator overloading, and display the records of the student who is getting less salary. 



Discuss various applications of Initializer List with the help of suitable examples


: Write a program to perform class to basic conversion[Such as: Class is: Triangle with data members base and height(float), and basic type is float(area of triangle)].


1. The sum of two positive numbers is 10. Find these numbers if the sum of their squares is a minimum.


2. Abby builds a rectangular pig pen with two parallel partitions using 150 meters of fencing materials. what should be the dimension of the pigpen so that it would enclose the largest possible area?


3. Find the dimensions of a rectangle with an area of 225 cm^2 whose perimeter is as small as possible.


4. Find two possible numbers whose the sum is 15 when the product of the first number and the square of the second number us to be a maximum.


5. The sum of two positive numbers is 18. Find the numbers if the sum of their cubes is a minimum.

Write a program to overload operators in the same program by writing suitable operator friend functions for following expression: O6=((O1+O2) -(O3*O4) * (++O5)) [Here O1,O2,O3,O4,O5 and O6 are objects of a class “overloading”, and this class is having one integer data member]


: Write a program to write 5 book records in a file. Program should also perform random access in the file, after taking input for a particular record number to read and it should also perform random record overwriting after taking input of new record and the record number to overwrite. [Attributes of book: Book_id, Book_price, Book_name, Book_author_name]


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString

  .trim()

  .split("\n")

  .map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 let person = JSON.parse(readLine().replace(/'/g, '"'));


 /* Please do not modify anything above this line */


 /* Write your code here and log the output */

}




length is not difined


Odd-Even-inator

by CodeChum Admin

My friends are geeking out with this new device I invented. It checks if a number is even or odd! 🤯 


Do you want to try it out?


Instructions:

  1. In the code editor, you are provided with a function that checks whether a number is even or odd.
  2. Your task is to ask the user for the number of integer, n, they want to input and then the actual n number values. For each of the number, check whether it is even or odd using the function provided for you.
  3. Make sure to print the correct, required message.

Input


1. Integer n

2. N integer values


LATEST TUTORIALS
APPROVED BY CLIENTS